Microsoft Dynamics CRM 2016: Export/Import of Interactive Dashboards

Symptoms
In CRM 2016, there are known issues with solution export and import of Interactive Dashboards that are based on custom Entity or custom Activity, or contain custom Views. CRM uses ObjectTypeCode (OTC) to match subcomponents in a solution entity to the correct entity on the target CRM system. This works as expected for out of the box (OOTB) entities and views, but it can create inconsistencies when the solution contains Interactive Dashboards based on custom Entity or Activity, and custom Views. The following example illustrates the possible inconsistencies.
Cause
When a custom entity A is imported into a target system, such that an existing entity B in the target system has the same ObjectTypeCode as entity A, entity A is created on the system with a new ObjectTypeCode. This can create two kinds of inconsistencies:
  • The entity dashboards of entity A in the solution appear under the Entity Dashboard node of entity B, as the EntityTypeCode reference is resolved incorrectly.
  • All the streams and tiles with a reference to the entity A are incorrectly resolved as references to entity B. Thus, customized IC dashboards interpret such streams and tiles as composed of entity B, although their View is of entity A. The dashboard filter entity is also interpreted incorrectly as entity B. This leads to an inconsistent state where the dashboard cannot display the streams or tiles.
Secondly, there is no dependency calculation for streams, tiles, filter entity and filter view. While exporting an Interactive dashboard, the system does not prompt the user to export entity A, even if the dashboard contains streams or tiles based on the entity A. This could either lead to the scenarios mentioned above, or make it impossible for the target system to resolve the dependencies.
Resolution
Solution export and import of Interactive dashboards is not a supported feature in CRM 2016. A patch will be available in CRM 2016 Update 2 to block the functionality from customization UI and SDK. When a solution is exported, the XML would not contain those subcomponent types which could create the inconsistencies discussed above. Interactive dashboards will not be made a part of the XML.
More information
The following screenshots show where this is going to be blocked:
  1. New Interactive dashboard in Custom Solution.11
  2. Existing Interactive dashboard in Custom Solution.22
  3. When solution components are added from the following menu, Interactive dashboards would not be shown in the list of available dashboards.33
  4. Entity Dashboard node during addition of assets to solution – the tab would be removed.44
  5. Entity Dashboard node under an added entity – the node would be removed.55
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 3160775 - Last Review: 05/05/2016 15:30:00 - Revision: 1.0

Microsoft Dynamics CRM 2016

  • kbmbsmigrate kbsurveynew KB3160775
Feedback