locked
How to create an email activity using REST Endpoints in CRM2011 RRS feed

  • Question

  • Hi All,

    I have the requirement in Marketing List, in marketing list we are having the custom button "Email" when we click on the button It should create the email activity records with fields "TO" (PartyList field- list of members from the current marketing list record), "FROM" (PartyList field-). and need to show the newly created record...

    It would be great if you can provide the solution for this....

    Thanks

    Srikanth Reddy

    Tuesday, August 5, 2014 5:19 AM

All replies

  • Hi Srikanth,

    LitsMember intersect entity is the intersect table for the List(Marketing List) entity.

    Use List guid to retrieve ListMember ids and use ListMember Guid to retrieve associated contact/account. 

    Relationship schema name Entity 1 Entity 2

    listaccount_association

    list

    account

    listcontact_association

    list

    contact

    listlead_association

    list

    lead

    Look at this, this and this as well..

    I would recommend this - sample code by mileyja


    Thanks and Regards. Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.


    • Edited by Ravitheja J Tuesday, August 5, 2014 6:03 AM
    Tuesday, August 5, 2014 5:52 AM