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)

does updates in an entity update event trigger update event again?

(0) ShareShare
ReportReport
Posted on by 795

In an entity update event handler, I would like to update the entity programmatically. Does this latter update trigger the update event again?

Thanks,

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    ScottDurow Profile Picture
    21 on at

    Hi,

    When you say an 'entity update event handler' do you mean a client side javascript event or a Plugin Step?

    If you mean a javascript event - then the answer is no if you use Xrm.Page.getAttribute("<name>").SetValue("..")

    If you mean a Plugin, then you won't get another triggering of the plugin if you update the Target entity in the InputParameters via a PreOperation step - but if you use the OrganizationService to update then the plugin will be triggered again. You can use the Depth property on the context to check for how much recursion is in play.

    hth,

    Scott

  • heguangm Profile Picture
    795 on at

    It is a plugin assembly I would like to associate with entity update event.

    This is great, thank you so much.

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