Archive
Posts Tagged ‘Plugin message’
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.
🙂
Advertisement
Categories: Dynamics Portals
Tags: Dynamics Portals, EnableCustomPluginError, Plugin message
Stats
- 1,580,247 hits
Tweets
- RT @MikeFactorial: Big things are coming to the #CoEStarterKit. So, @ManuelaPichler_ and team are building the tension for the April releas… 2 weeks ago
- New blog post : Boost conversations using GPT in Power Virtual Agent (PVA) rajeevpentyala.com/2023/03/08/pow… 2 weeks ago
- RT @PPDevWeekly: 🔥 Going Live: Power Platform Dev Weekly 155 bit.ly/PPDevWeekly155 This week's cover story by @RajeevPentyala With gre… 2 weeks ago
- RT @caseyburke21: Pipelines is now generally available! Huge congratulations to the team and all who have supported reaching this milestone… 3 weeks ago
- New blog post : Call Dataverse actions directly in power-fx rajeevpentyala.com/2023/03/01/ste… 3 weeks ago
Join 405 other subscribers
Top Posts
- Power Apps component framework (PCF) - Beginner guide
- [Step by Step] Power Apps | Show pop ups in Canvas App
- [Code Snippet] Custom Workflow Activity with Input and Output Params
- [Step by Step] Connecting to Azure SQL Server using OLEDB Connection from SSIS
- Power Platform - Pass json collection from Canvas App to Power Automate
- [Log4net] Exception while reading ConfigurationSettings
- Auto generate new GUID for ‘uniqueidentifier’ column in SQL Table
- Power Automate Flows | 'Callback Registration Expander' System Jobs stuck at 'Waiting For Resources'
- [Step by Step] Postman tool with Microsoft Dataverse Web API
- Azure DevOps (ADO) | Pipeline failure | You need the Git 'GenericContribute' permission