Unsupported still a good one to know
By this time many of you might have already explored the Xrm.Internal namespace and displayed your custom webresources in CRM 2013/ 2015 modal style. Well, if you have not, I suggest you check my blog post https://debajitcrm.wordpress.com/2014/04/29/exploring-the-xrm-internal-namespace-in-crm-2013/ to explore the Xrm.Internal namespace and i bet you would like it.
Coming back to the topic, if we open our custom webresources in CRM modal style, why not show the custom client side errors in CRM 2013 style? If you are thinking how to to do this, you have to come back to Xrm.Internal namespace and explore its Xrm.Internal.openErrorDialog method.
First let us explore the Xrm.Internal.openErrorDialog method. The following is the nomenclature of this method.
So we can see that it accepts three parameters
- Error Code
- Serialized Exception
Error Code : If you see the nomenclature, it appends “0x” to the error code. It should be a number. If you enter…
View original post 113 more words