Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

do i get all fields or all information about entity in POST CREATE record

(0) ShareShare
ReportReport
Posted on by 267

if i am on CONTACT entity and i say after record is created do any other task  so i will use POST CREATE CONTACT message to do my operations. my question is when my plugin will be fired then do i need to service.retreive() to get contact entity record i just created or all the information or all the fields i have already in my context ? i am asking because i have been doing  like this

 Entity order = service.Retrieve("contact", guid, new ColumnSet(true));

TO RETRIEVE  all fields in my plugin for contact i have just created so my question is DO I NEED TO DO LIKE THIS or i have already all information i have just created in my context ?

*This post is locked for comments

  • Verified answer
    a33ik Profile Picture
    a33ik 84,325 Most Valuable Professional on at
    RE: do i get all fields or all information about entity in POST CREATE record

    Hello,

    I don't see any need in both usage of images and additional call of CRM endpoint. All the data will be inside the context.

  • Verified answer
    TNS Profile Picture
    TNS 1,195 on at
    RE: do i get all fields or all information about entity in POST CREATE record

    Hi Zaub,

    You can use post image and then  reterieve data, check you are running  plugin on post operation and asynchronous.

    Thanks!

  • Verified answer
    gdas Profile Picture
    gdas 50,089 on at
    RE: do i get all fields or all information about entity in POST CREATE record

    Hi,

    You can have create  post stage plugin , and define post image on post stage with all attributes. From post image context get the attributes .

    Please refer below article -

    https://community.dynamics.com/crm/b/thinkdynamicdodynamic/archive/2018/01/21/pre-image-and-post-image-in-dynamics-crm

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,489 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans