UrbanPro
true

Learn MS CRM from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Plug-in Images (Pre v/s Post)

Jayakar Reddy
11/10/2017 0 0

Plugins in Dynamics CRM, allow you to register images against the steps of a plugin assembly. Images are a way to pass the image of the record that is currently being worked upon prior or after the action has been performed. In general it could be said, it is the image of the record as is available in the SQL backend.

Two types of Images are supported, Pre-Image and Post Image.

In case of Pre-image, you get the image of the record as is stored in the SQL database before the CRM Platform action has been performed.
Post Image, returns the image of the record after the CRM Platform action has been performed.

It is there important to understand when the images would be available and what state of the record would be returned in these images.

Say you were to register a “Pre-Image” for a plugin registered in Pre-Create Stage. We just mentioned above, that the image is a copy of the record as is stored in the SQL backend. Since this is the create stage and the record has not even been created as yet, there is no record in the SQL backend that can be returned in the Pre-Image and hence any call for the image would fail with the above error message.

The following table explains the Pre-Image Availability:

Stage Create Update Delete
PRE NO Yes Yes
Post Yes Yes Yes

 

The following table explains the Post-Image Availability:

Stage Create Update Delete
Pre No No No
Post Yes Yes No

 

0 Dislike
Follow 2

Please Enter a comment

Submit

Other Lessons for You

Creating/Setting/Admin Center of Dynamics CRM - Office 365
Introduction Dynamics 365 is a cloud service launched by Microsoft. It combines its Cloud CRM and ERP services into a single offering.Microsoft Dynamics 365 is the next generation of intelligent business...

CREATE a record using Web API, MS CRM 2016
Here is a link to my blog post with an example of using Web API to create a record: https://mscrmcodesamples.wordpress.com/2016/04/11/create-record-using-web-api-ms-crm-2016/

Difference between the managed and unmanaged solution in MS Dynamics CRM.
Exactly there is a lot more confusion among all about the differeniation between the Managed and Unmamanged solution in MS CRM, and most think that the managed solution and unmanaged solution is that managed...

OAuth Authentication (without using ADAL) to Dynamics 365 using Azure Apps
Here I am going to show without using ADAL(active directory authentication library) how to get the authentication token and how to connect to CRM from a standalone HTML Page using the web-API. I will...

How to use FetchXml in CRM Web API
Here I am going to show how to use FetxhXML query to get the results from CRM Web API. below example shows how to get logged in user Security roles. function getRoles(token) {var req = new XMLHttpRequest();var...

Looking for MS CRM Training?

Learn from Best Tutors on UrbanPro.

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you
X

Looking for MS CRM Classes?

The best tutors for MS CRM Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn MS CRM with the Best Tutors

The best Tutors for MS CRM Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more