Retrieve selected Marketing List GUID & the name of the marketing list and get all the records in that Marketing List RRS feed

  • Question

  • Im new to MS CRM i have create a custom enity and i need to retrieve the selected Marketing List GUID and the name of the marketing list

    I need to show all the records in that marketing list(leads/accounts/contacts) in a gridview.
    Wednesday, June 16, 2010 10:19 AM


All replies

  • Hi,

    From where you want to select marketing list guid ?? could you explain some more about your requirement ???

    Wednesday, June 16, 2010 11:00 AM
  • I have created a custom entity and placed a lookup in that for MarketingList  when i create and save that new entity a new isv button will be shown beside save button when i click that button i should show a custom aspx page with all the marketing list members and the marketing list name and guid of the selected Marketing List (when i saved it)
    Wednesday, June 16, 2010 11:20 AM
  • Thank you vas_kumar,

    you can implement this through JS.you can write js function on form load to get marketing list guid and  pass this guid to your custom page (you call this function from ISV button)

    refer this list post to call form load function from isv button http://nishantrana.wordpress.com/2009/09/04/calling-forms-javascript-functions-in-isv-config/

    In your custom page you can write JS code or SDK code to query to listmember entity to get listmemberid,entitytype, further you can query specific membertype to get more details.

    refer below link use retrivemultiple function of ms crm webservice


    Hope it will help you !!!  

    Wednesday, June 16, 2010 1:00 PM
  • Hi Mahain,


    Thank you very much.....I got complete idea...thank u once again...





    Wednesday, June 16, 2010 5:41 PM