Skip to main content

Notifications

Customer Service forum

Plugin registration issue in conjunction with portal

Posted on by Microsoft Employee

Hi Everyone,

So I'm writing a plugin that does something when a record is created. The record type is exposed to portal as well. So I registered the plugin and at a later point I unregistered and re-registered it because I wanted to move it to a different namespace. That's when some kind of an error happened that I can't quite figure out. So from the CRM point of view the changes around the plugin went through, and if I create a record the plugin works as expected. However, if I do the same from portal it fails to do what it should (no errors though). After some tedious research, it seems that my previous version of the plugin still persists somehow, at least this is my suspicion for the following reasons:

-If I disable my current version of the plugin (the one I see in registration tool), the plugin still seems to work, it just looks like it runs the older version (the one before I unregistered)

-If I re-enable my plugin, the faulty behavior returns, from what I see it is as if the plugin is running twice and that is causing the problem

I tried to clear the server cache on portal, and to reset the entire portal, but it didn't do the trick.

I can't see the old version by any means (Plugin registration tool, customizations window, etc.).

Could you please shed some light on how the Portal handles plugins? I assumed it is all on the Dynamics 365 side, but now I'm not so sure of that.

Thanks,

Adam

Categories:

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans