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 issue in conjunction with portal

(0) ShareShare
ReportReport
Posted on by

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:
I have the same question (0)

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