Currently I'm using InvalidPluginExecutionException to display error message to UI. Is there an alternative to display a different custom error message without "show details"?
Currently I'm using InvalidPluginExecutionException to display error message to UI. Is there an alternative to display a different custom error message without "show details"?
Hi,
You can simply throw exception in plugin with custom message using this syntax:
throw new InvalidPluginExecutionException("Your Message");
Let me know if you want example.
Thanks
Hi Afun,
Check out the link: https://learn.microsoft.com/en-us/power-apps/developer/data-platform/org-service/handle-exceptions-code for more details.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156