Pages

Wednesday 25 April 2018

D365 CRM Solution Import - The element 'savedquery' has incomplete content -List of possible elements expected: 'LocalizedNames'



Error: 
The import file is invalid. XSD validation failed with the following error: 'The element 'savedquery' has incomplete content. List of possible elements expected: 'LocalizedNames'.'.


Background: 
When a MSCRM solution import fails at system views with "XSD schema validation failed" error 

Root Cause:
When a system view columns/filter/description is modified and added to solution. Sometimes solution export engine excludes the view(savedquery) name. I have noticed this in project service related views.

Fix:
  • Log into the environment where the solution is exported from and open the solution. 
  • Rename the view with some temporary name, then save and publish.
  • Again change the name back to it original state, then save and publish
  • Export again and re-import into destination

7 comments:

  1. I think great site for these post and i am read the most of contents have useful for my Carrier.Thanks for these useful information.Any information are commands like to share him.
    CRM Software in Dubai
    CRM Software Companies in Dubai

    ReplyDelete
  2. I’ve understand your stuff previous to and you’re just too excellent. I actually like what you’ve acquired here, certainly like what you are stating and the way in which you say it.
    CRM Software in India
    CRM Software in Chennai

    ReplyDelete
  3. I think great site for these post and i am read the most of contents have useful for my Carrier.Thanks for these useful information.Any information are commands like to share him.
    CRM Software in India
    CRM Software in Chennai

    ReplyDelete
  4. Thanks for providing this information on CRM Software. Very informational and easy to understand.

    ReplyDelete
  5. Excellent Ramanathan Rajendran. It just worked for me. I was exporting Case Views in solution.
    You made my day very easy. Struggling from 4 hours to get this resolved.

    ReplyDelete