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?
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?
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.
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 .
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
Daivat Vartak (v-9d...
671
Super User 2025 Season 1
Vahid Ghafarpour
167
Super User 2025 Season 1
Muhammad Shahzad Sh...
138
Most Valuable Professional