Can I Register a plugin (Async) on read of any entity record?
*This post is locked for comments
Can I Register a plugin (Async) on read of any entity record?
*This post is locked for comments
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?
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
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:
Hi,
Yes, you can Register a plugin (Async) on read of any entity record.
Hope this helps.
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.
No.
It required message like...Create, Update, Set state etc.
Mohamed Amine Mahmoudi
83
Super User 2025 Season 1
Community Member
52
Victor Onyebuchi
6