What is the Issue?
Microsoft Dynamics CRM provided the feature to set Icons and tooltips to the columns in System views based on some conditions like priority task, critical records, Expiry Dates on records, etc. This helps user to take action on or analyze the records.
But sometimes it simply fails and throws exception before loading the view itself. It becomes difficult to figure out issue behind this.
In earlier version of MS CRM i.e. previous to v9.1 where Microsoft provided the feature to add the icons and tooltips to columns, this is working fine for system views of all the entities except Activity entities like email, appointments, Tasks.
The reason behind this is the Party list fields used in entities which are also used in views. Party List fields are lookup fields of multiple entities.
Let’s have an example-
We have the “All Emails” system view for Email entity which is Activity entity.
In system view , there are two fields “From” and “To” as below-
And publish the Customizations.
When We try to load the view got error message as belows-
When I downloaded the Log file I got some exact error like-
Even If you try to debug the function, you will not be able to do so. It shows exception before hitting the function. So if you take a look closely to the exception from log file it is showing some Error highlighted in above screenshot.
And here you have exact reason-
From field is Party List field and System is trying to set metadata value for entity of lookup and MS CRM is failing to parse the rowData for this multi-entity type lookup.
In latest version of MS CRM i.e. V9.1 and above MS has resolved this bug and you can see this working in new versions on MS CRM-
You can see the “from” and “to” fields are ignored in these views.
Below is the Json rowData value where you can find the blank values for “from” and “to” fields-
So the issue resolved in latest versions of MS CRM.
Hope this will help you.
Enjoy MS CRM!!!