Wednesday, 29 March 2017

Disable the Script Error Notifications in MS Dynamics CRM 365

we need to set the following setting under Settings=>administration=>privacy preferences

Monday, 27 March 2017

MS Dynamics 365 CRM referesh composite address field - #JSTip1

I have found a quick hack(dirty way) to refresh composite fields based on other address fields in the form using direct DOM manipulation, below is the sample and explanation.

1. Go to the parent window in the java script
2. Trigger a click on address field which pop's up the address 
3. Close the pop-up which will refresh data.


Enclose them into a try catch block for soft exit. For closing and reopening the window, use the second statement before calling the first and second statements.

Sunday, 26 March 2017

Microsoft Dynamics 365 Mobile(MoCA) - Metadata Error(Metadata corrupted - Error_Message_Generic_Mobile_Client ErrorDialog.ProvideTechnicalDetails)

Hello All,

Lets go through a quick fix for a type of Metadata Error in Microsoft Dynamics Mobile Application (MoCA). 

In one of our recent projects, we faced a metadata error in MoCA application out of no where. After spending hours around this issue and with the timely support of MS team, we were able to find the root cause and fix,

Issue Summary is as follows,

Issue: While opening mobile app, the app crashes with an error Error_Message_Generic_Mobile_Client ErrorDialog.ProvideTechnicalDetails

This error can be caused because of multiple reasons, In our case we used logs and browser's developer tool errors to identify the issue is around MSCRM Document templates.

This occurs whenever you delete an entity from CRM and it has an associated document template. When MoCA builds metadata, it was trying to retrieve a document template of a deleted entity that results in a null reference error.

Identify the document template related to the deleted entity and remove the same from the system.

Hope this helps!