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)

how to register plugin without primary entity

(0) ShareShare
ReportReport
Posted on by 2,510

Hi, I am looking to register a plugin without primary entity, like the below screenshot. Usually, I create plugin in visual studio, and it requires to select an entity every time. 

2017_2D00_11_2D00_20_5F00_1523.png

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    There is no way that you can register a plugin message for all entities.

    This is available for actions (Global actions), but not for System Plugins.

    Hope this helps.

  • Suggested answer
    Guido Preite Profile Picture
    54,086 Moderator on at

    if you want to register a plugin that will run on every entity you just need to configure the plugin as your screenshot, leave "none" as primary entity, and inside the plugin you can check the logicalname of the target

  • sdnd2000 Profile Picture
    2,510 on at

    I understand, but how should I register an action the like screenshot?

  • Aric Levin - MVP Profile Picture
    30,190 Moderator on at

    My mistake. Just re-confirmed what Guido said. Sorry...

  • Suggested answer
    Guido Preite Profile Picture
    54,086 Moderator on at

    probably you are using the developer toolkit maybe?

    instead of using the developer toolkit just create a plugin (class library project signed assembly, crm sdk nuget packages) and after register manually using the plugin registration tool, and you will be able to select "none" as primary entity

  • sdnd2000 Profile Picture
    2,510 on at

    Hi, Guido,

    you mean a plugin class library?

  • Verified answer
    Guido Preite Profile Picture
    54,086 Moderator on at

    you can just follow this tutorial to create a basic plugin

    msdn.microsoft.com/.../gg594416.aspx

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