When viewing a list of Activity views in Microsoft Dynamics CRM 2011, duplicate activity views may appear

Applies to: Microsoft Dynamics CRM 2011

Symptom


When viewing a list of Activity views in Microsoft Dynamics CRM 2011, views may display as having a duplicate. When navigating to Settings, selecting Customizations, and selecting Customize the System, this displays the default solution. Then, select Entities, choose the entity where the duplicate view is displayed and select Views, the full list of views for the system will be displayed. The duplicated views will have a description tag of "(to be used asynchronously)."

Cause


The views at some time had the querytype value modified. This could have been in the current system or had been updated during an import of customizations from a separate environment. The querytype value in the customization.xml file will display as a 0 instead of 1024. 

Resolution


To resolve this issue, follow the steps below:

1. Navigate to Settings and then select Solutions within the Customization section 

2. Select New for a new solution and provide values for all of the required fields. Then Save the solution

3. Select Add Existing and add the entity or entities that are displaying the symptoms 

4. Save the solution and then select Export Solution and save the file

5. Extract the contents of the created zip file and open the customizations.xml file 

6. Then find the duplicated views. This can be done easily by searching for "to be used asynchronously."

7. Then, modify the querytype value to read 1024 instead of 0 

8. Repeat steps 6 and 7 for all views that are displaying as duplicates 

9. Save the customizations.xml file

10. Zip the extracted files again and import back into Microsoft Dynamics CRM 

11. Publish the changes to all affected entities 

More Information


 The system is designed to ignore views with a query type of 1024 in the UI.