locked
Calling the contact attribute in list entity RRS feed

  • Question

  • Hello Team,

    There is an attribute called Callvalue(nvarchar) in contact entity and i have the CallValue in List entity.

    Once i create a record in list entity value, in the callvalue of list entity should update what ever the value in the callvalue in contact.

    There is a 1:N relation ship between Contact and List.

    I want to prepare this code using Plugin.

    please help me on this...this is very very urgent for me now.

     

    Thanks for understanding.

    Thursday, July 7, 2011 10:44 AM

Answers

  • Hi,

    You plugin code will execute on the Post Create Stage on the following SDK Messages, Create ListEntity, Update Contact Entity CallValue attribute

    1. In Create Entity message code you can retieve the CallValue attribute value form Contact entity and place it into the ListEntity

    2. In Update Entity message code you can retreive all list entities by contact id and update the CallValue


    Jehanzeb Javeed

    http://worldofdynamics.blogspot.com
    Linked-In Profile |CodePlex Profile

    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".
    Thursday, July 7, 2011 1:23 PM

All replies

  • Hi,

    You plugin code will execute on the Post Create Stage on the following SDK Messages, Create ListEntity, Update Contact Entity CallValue attribute

    1. In Create Entity message code you can retieve the CallValue attribute value form Contact entity and place it into the ListEntity

    2. In Update Entity message code you can retreive all list entities by contact id and update the CallValue


    Jehanzeb Javeed

    http://worldofdynamics.blogspot.com
    Linked-In Profile |CodePlex Profile

    If you find this post helpful then please "Vote as Helpful" and "Mark As Answer".
    Thursday, July 7, 2011 1:23 PM
  • Hi Javeed,

    Thanks for your Help. Its working.

    Thursday, July 7, 2011 2:36 PM