locked
CRM 2011 - Best practice while registering Pre and Post Images? RRS feed

  • Question

  • I've developed a Plug-in which has quite a lot of functionality implemented in it. I'm registering the plug-in on POST Update of Account entity. While registering Pre and Post images I see an option to select attributes. I see that I can select specific attributes OR ALL Attributes while registering an Image. I would like to understand what difference does it make if I register the PRE/POST images on ALL attributes instead of specific attributes. Please note that I'm using only 3 attributes from PRE/POST image.
    Tuesday, April 10, 2012 10:50 AM

Answers

  • Hi,

    you should only include required attributes in your images, if you will include unnecessary fields it will try to load all the attributes in pre/post images propertybag and that could slow down your plugin execution.


    Mahain : Check My Blog
    Follow me on Twitter
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Tuesday, April 10, 2012 10:55 AM
    Moderator