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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer Service forum

Plugin Registration Tool did not load all plugin profile

(0) ShareShare
ReportReport
Posted on by

I was trying to perform debug on my plugin as follow:

I was using the "Persist to Entity" during profiling. In the CRM's Plugin Profiles, I am able to see the profile being logged, however the Plugin Registration Tool did not show the latest plugin profile.

Any one has any clues?

Categories:
  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Hi,

    If you have enable 'Persist to Entity' then it should log all the plugin profile.

    Are you sure you have triggered the action so that the profile is generated.

    You can check if the Plugin-in Profile entity has the records generated. Sometime it takes time to load the profile info so give it a minute (mine appears after 8-10 second ..i have 5K+ records).

    Hope this helps

  • Suggested answer
    Community Member Profile Picture
    on at

    Thanks, similarly I have more than 5000k records as well.

  • RaviKashyap Profile Picture
    55,410 Moderator on at

    So did it load after some time or you are still facing the issue?

  • Community Member Profile Picture
    on at

    In fact, I had deleted some of the records in CRM & the PRT is able to load.

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

    You need to do the following steps to see the latest plugin profile.

    1.Login to the Plugin Registration Tool by selecting the checklist of available connections and selecting the exact connection you want.

    3288.Capture1.JPG

    2.Register new assembly and load the assembly with the "dll" file obtained after building that solution.

    5734.Capture2.png

    8360.Capture3.JPG

    3.Once you create the assembly,you need to create a step for the assembly we created right now by right clicking and selecting the "Register New Step" option.

    8156.Capture4.png

    4.When you are creating the step,you need to mention on what occasion the plugin needs to trigger,either on CREATE,DELETE or UPDATE depending on your requirement.

    0636.Capture.JPG

    5.If the plugin triggers based on UPDATE,you need to mention the field name of entity on which the plugin triggering has to happen.

    6.Once you create the step,then you click start profiling option present in plugin registration tool.

    Capture6.jpg

    7.Then you go to visual studio with the codes related to the action(class) which triggers the plugin and do the following:

    a.Select "Debug" option of visual studio

    Capture7.png

    b.Click "attach to process"

    Capture8.png

    c.Select "plugin registration tool".

    Capture9.png

    d.Click "Attach"

    8.Then wait until the action to happen which results in the triggering of plugin.

    9.Once that action happened,it triggers the plugin and after that the plug in profile will appear in the list.

    10.To see the newly created plug in profile,select plugin and click Debug

    Capture10.png

    11.that will bring plugin execution screen like this.Click on the select button

    Capture11.png

    12.Select the plug in profile that matches with your plugin.

    Capture12.jpg

    13.It will bring you a screen like this.Select your dll file and the plugin,then click start execution.

    Capture13.png

    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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans