Comments on: Getting Attribute Values in Plugin Execution Best Practice: Use Pre/Post Images/2015/01/16/getting-attribute-values-in-plugin-execution-best-practice-use-prepost-images/Sharing my work and study experience with technologies.Thu, 29 Jan 2015 11:00:26 +0000hourly1http://wordpress.com/By: Mohammad Rokonujjaman/2015/01/16/getting-attribute-values-in-plugin-execution-best-practice-use-prepost-images/#comment-213Thu, 29 Jan 2015 11:00:26 +0000/?p=747#comment-213I am a newbee and wondering when exactly to use pre or post-entity images. I have learned that for create operations I must use preImages and for delete operations postImages to use, what are the reasons for these? Didn’t find any convincing answers yet.

]]>
By: Andre Margono/2015/01/16/getting-attribute-values-in-plugin-execution-best-practice-use-prepost-images/#comment-207Fri, 16 Jan 2015 01:16:36 +0000/?p=747#comment-207In reply to Raj Y Raman (@RajYRaman).

Good point Raj, the other consideration to use retrieve is when there is a potential record changes on the same record within the plugin process. But again, it is really situational.

]]>
By: Raj Y Raman (@RajYRaman)/2015/01/16/getting-attribute-values-in-plugin-execution-best-practice-use-prepost-images/#comment-206Fri, 16 Jan 2015 00:45:40 +0000/?p=747#comment-206Good point. But the pre and post image only contains snapshot data, sometimes it might be necessary to retrieve the entity, as not all attributes come through. This may not be such a big issue for post-image, but definitely one to watch out for in pre-image.

]]>