web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Is there any example when we can register a plugin with a secondary entity but primary entity as none?

(0) ShareShare
ReportReport
Posted on by 2

Is there any example when we can register a plugin with a secondary entity but primary entity as none? Either in online or on-premise.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    gdas Profile Picture
    50,091 Moderator on at
    RE: Is there any example when we can register a plugin with a secondary entity but primary entity as none?

    Hi Amit ,

    You can not trigger plugin without defining primary entity , the secondary entity is useful when a primary entity record is associated (SetRelated) or dissociated (RemoveRelation) with or from the secondary entity record.

    So both are dependent so there is no online or  on-premise concepts is there .

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Is there any example when we can register a plugin with a secondary entity but primary entity as none?

    Hi Amit,

    No, You cannot register a plugin with just secondry entity. Secondry entity field will only be applicable in the related records triggers.

    Refer this blog: arpitmscrmhunt.blogspot.com/.../significance-of-secondary-entity-in.html

    Hope this helps

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#2
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans