Plaza 365
Plaza 365

No results found for your search

RegisterLog in

5

Visit article

#initiatinguserid

#n-nrelationship

#parentcontext

#plugin

#trigger

Dynamics 365 CRM - Development

Category

Jul 21, 2023

Published date

Text

Article Type


AI Summary

  • The article discusses the need for a plugin that triggers only when a user manually associates a record from a form in a N-N relationship.
  • The plugin should not trigger if the association is done through another plugin.
  • The ParentContext property can be used to identify if the plugin is triggered by another plugin.
  • The InitiatingUserId property provides the id of the user who triggered the plugin.
  • If the user manually performs the association from the form, the ParentContext property will be null.
  • The article suggests using the ParentContext property and the InitiatingUserId property to determine if the association was done manually or through another plugin.
  • The article provides an example of how to use these properties to achieve the desired functionality.
  • The author hopes that the information provided in the article is helpful.

Registered users can view the full text for FREE!

Sign In Now!