Home
> Dynamics Portals > Dynamics Portals – Display Plug-in error messages
Dynamics Portals – Display Plug-in error messages
You would have got “An unknown failure has occurred…” many times in your portal when there was exception thrown by your Dynamics CE plug-in code.
Now in Dynamics Portals, we can show the plug-in error in following portal screens by adding “Site/EnableCustomPluginError” entry in Dynamics CE Portals -> Site Settings
- Entity list
- Retrieval of records
- Entity form
- Retrieve
- Create/Update and so on
- Web forms
- Retrieve
- Create/Update and so on
Lets see the approach and steps.
- I have created and registered a plug-in with logic to intentionally throw an exception on ‘Case’ Create.
- Go to your Portal and try to create a Case and you would get below generic exception “An unknown failure…”
- Now open your Dynamics CE application, navigate to Portals -> Site Settings and create a new Site Setting with Name “Site/EnableCustomPluginError” and Value true.
- Go back to your Portal and try to create a Case and you would get actual Plug-in error.
🙂
Categories: Dynamics Portals
Tags: Dynamics Portals, EnableCustomPluginError, Plugin message
Comments (0)
Trackbacks (0)
Leave a comment
Trackback
Stats
- 1,263,008 hits
Translate
Categories
Top Posts
- [Step by Step] Postman tool to test Dynamics 365 online Web API
- Useful JScript syntax's – ADX/Dynamics 365 Portals
- Power Apps component framework (PCF) - Beginner guide
- [Step by Step] Using TypeScript in Dynamics 365 9.x
- Auto generate new GUID for ‘uniqueidentifier’ column in SQL Table
- Associate/Disassociate plugin messages in CRM
- [Code Snippet] Custom Workflow Activity with Input and Output Params
- [MS Word] The Linked file isn't available
- PowerApps - Step By Step - Build a simple Calculator App
- Set “Created On”,” Created By”, “Modified On”, “Modified By” fields using SDK/Data Import/Plug-in – Dynamics 365
Recent Posts
- Canvas App Import Failure | CanvasAppEnvironmentMismatch error
- ‘Callback Registration Expander’ System Jobs stuck at ‘Waiting For Resources’
- [Step by Step] Debug Model Driven and Canvas Apps using ‘Monitor’ tool
- Canvas App | Dataverse | Distribute columns to multiple forms and Patch
- [Step by Step] Canvas App | Dataverse | Filter, Patch, For All, Lookup