I want to display message to check if plugin is working properly or not by getting alert box or something like that how can i perform it?
Hi mukhan1833,
If you want to check if plugin is working properly or not then simply keep your plugin in "synchronous" mode.
If your plugin fails, then it will throw an error on the screen.
Please mark as verified if the answer is helpful.
Thanks!
Vinit
Hello Mukhan 1833
It's not possible. You can pass a message from a plugin to a user by throwing an exception, the user will get the exception message but they wont be able to reply. I would suggest a dialog using custom workflow activities or using of Onload, OnSave Javascript functions .
Like Vinit said, if your plugin is a Sync one, then if there are any exceptions, you should be able to see a popup with the exception message. If you cannot see the exception popup, one of the reasons is that you catch it in your code and never throw.
I would suggest using the ITracingService to log the plugin runtime info and data rather than an alert box. Tracing log is more flexible and effective way. Works for both Sync and Async plugins.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
MVP-Daniyal Khaleel 125
Tom_Gioielli 101 Super User 2025 Season 2
Erin Lubben 57