locked
What is the difference between InputParameters and Pre-Image in plugin? RRS feed

  • Question

  • Hi,

    When I go through net I see that InputParameters has all the attribute values of a record and when I see for Pre-Image, even it says the same. I am confused what to use when. Can any one clear me this confusion.

    Thanks in advance.

    Thanks

    Vikram

    Tuesday, January 28, 2014 2:12 AM

Answers

  • Hi,

    Input Parameters shows only updated fields of entity(which is updated before the same) but pre-image gives all attributes of entity.

    • Proposed as answer by Akhileshrajpoot Tuesday, January 28, 2014 6:59 AM
    • Marked as answer by Vikram96 Tuesday, January 28, 2014 6:53 PM
    Tuesday, January 28, 2014 4:03 AM
  • Hello Vikram,

    Input property bag will only contains those values that is changed by user, for example values for those fields that they entered in entity form, where pre-Image contains values for those field which is selected during the creation of pre-image using plugin registration tool.

    HTH


    Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    • Proposed as answer by HIMBAPModerator Tuesday, January 28, 2014 11:09 AM
    • Marked as answer by Vikram96 Tuesday, January 28, 2014 6:53 PM
    Tuesday, January 28, 2014 11:09 AM
    Moderator

All replies

  • Hi,

    Input Parameters shows only updated fields of entity(which is updated before the same) but pre-image gives all attributes of entity.

    • Proposed as answer by Akhileshrajpoot Tuesday, January 28, 2014 6:59 AM
    • Marked as answer by Vikram96 Tuesday, January 28, 2014 6:53 PM
    Tuesday, January 28, 2014 4:03 AM
  • Hello Vikram,

    Input property bag will only contains those values that is changed by user, for example values for those fields that they entered in entity form, where pre-Image contains values for those field which is selected during the creation of pre-image using plugin registration tool.

    HTH


    Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    • Proposed as answer by HIMBAPModerator Tuesday, January 28, 2014 11:09 AM
    • Marked as answer by Vikram96 Tuesday, January 28, 2014 6:53 PM
    Tuesday, January 28, 2014 11:09 AM
    Moderator
  • Thanks Akhilesh and Mahender for you responses.
    Tuesday, January 28, 2014 6:54 PM