web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Can I Register a plugin (Async) on read of any entity record?

(0) ShareShare
ReportReport
Posted on by

Can I Register a plugin (Async) on read of any entity record?

*This post is locked for comments

I have the same question (0)
  • Dynamics365 Rocker Profile Picture
    7,755 on at

    No.

    It required message like...Create, Update, Set state etc.

  • Suggested answer
    Sreevalli Profile Picture
    3,256 on at

    Unfortunately, we are not having any messages like view/read.

    Alternatively, we can have javascript to trigger an update onload of form, that trrigger your plugin.

  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    Yes, you can Register a plugin (Async) on read of any entity record.

    0820.plugin2.png

    Hope this helps.

  • David Jennaway Profile Picture
    14,065 on at

    As per the previous post, you can register plugins on Retrieve of (almost) any entity record. Depending on your requirements, you may also want to register on the RetrieveMultiple event. There are a few limitations:

    • A few system entities don't support plugins on Retrieve. An example is the Audit entity. However, all 'business' entities support plugins on Retrieve
    • If you want to register on RetrieveMultiple, this doesn't cover all ways to access CRM records. For example, it doesn't include use of Reports, or dynamic worksheets
  • Verified answer
    Pawar Pravin  Profile Picture
    5,237 on at

    Hi Tanuj Tomer1,

    Can you please explorer more about your requirement ?

    In CRM you can use Retrieve or RetrieveMultiple function (message name on read of record or no of records)

    Please refer following url for reference:

    muralikrishnasabbavarapublog.wordpress.com/.../retrieve-multiple-plugin

    nothingnessit.wordpress.com/.../crm2011-retrieve-plugin

    salimadamoncrm.com/.../plugin-on-retrieve-and-retrieve-multiple-how-bad-is-it

  • Christian Karner Profile Picture
    50 on at

    In my case, this doesn't always work. I wanted to have a generic plugin for Audit purposes. When I activated async retrieve for incident, another code, that does a retrieve on that entity crashes without any further information. When I use the same audit plugin and change vom async to sync, this works without problems. Is there a known limitation for async operations for certain entities?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans