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
Leave a Reply Cancel reply
Stats
- 1,484,145 hits
Translate
Categories
Top Posts
- Power Apps component framework (PCF) - Beginner guide
- [Code Snippet] Custom Workflow Activity with Input and Output Params
- Azure DevOps (ADO) | Pipeline failure | You need the Git 'GenericContribute' permission
- [Step by Step] Power Apps Portal - Configure Global Search
- Canvas App -Working with Bing Maps connector
- Associate/Disassociate plugin messages in CRM
- Azure DevOps (ADO) | Pipeline failure | Failed to connect to Dataverse
- Set “Created On”,” Created By”, “Modified On”, “Modified By” fields using SDK/Data Import/Plug-in – Dynamics 365
- [Step by Step] Dataverse | Connect Cloud flow with Service Principal (Application User)
- [Step by Step] Connecting to Azure SQL Server using OLEDB Connection from SSIS
Recent Posts
- General availability of Power Apps for Windows
- PCF | Using Fluent UI and React | Error during react installation
- Power Platform CLI | Pack and Unpack solution using map xml
- Power Platform CLI | Authenticate environment using device code
- Power Apps Maker Portal | Create tables with Table hub and new designer
How to clear the message the next time you click submit?
How to change the place where the error message is displaying? for example I want to display the error message at the bottom of the page .
How can I return a friendly error when a real time workflow returnees a error.