Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Secondary Entity in the MS CRM Registration Tool?

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

like image 382
Kumar Manish Avatar asked Feb 12 '23 23:02

Kumar Manish


1 Answers

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

like image 57
Scorpion Avatar answered Mar 06 '23 20:03

Scorpion