Question

When registering a plugin step with the registration tool, there is option for "Secondary Entity". What is a Secondary Entity, and in what scenario would a CRM developer can use this option?

enter image description here

Thanks

Was it helpful?

Solution

Secondary entity is used for SetRelated and RemoveRelated messages, otherwise it should be null.

Secondary entity is child is the related entity of primary entity. Secondary Entity should used only when you want to trigger plugin for an event requiring two entities like the "SetRelated" message.

Please have look here: Link

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top