web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Problem importing a solution

(0) ShareShare
ReportReport
Posted on by 195

Hi, I have a problem importing a solution, I get the following message: 

This solution package can not be imported because it contains invalid XML. You can try to repair the file by manually editing the XML content with the information found in the schema validation errors, or you can contact your solution provider.

The element 'savedquery' has incomplete content. List of possible elements expected: 'LocalizedNames'.

pes_fechafindecontrato" width="100" /><cell name="ownerid" width="125" imageproviderfunctionname="" imageproviderwebresource="$webresource:" /><cell name="pes_readenegocio" width="100" /></row></grid></layoutxml><querytype>0</querytype><fetchxml><fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="false"><entity name="opportunity"><attribute name="name" /><order attribute="pes_fechafindecontrato" descending="false" /><order attribute="pes_readenegocio" descending="false" /><filter type="and"><condition attribute="statecode" operator="eq" value="1" /><condition attribute="pes_tipooportunidad" operator="eq" value="283900000" /><condition attribute="pes_fechafindecontrato" operator="next-x-months" value="6" /></filter><attribute name="ownerid" /><attribute name="pes_fechafindecontrato" /><attribute name="parentaccountid" /><attribute name="pes_readenegocio" /><attribute name="opportunityid" /></entity></fetch></fetchxml><IntroducedVersion>1.0</IntroducedVersion></savedquery></savedqueries></SavedQueries><Visualizations><visualization><savedqueryvisualizationid>{4035A8A4-7602-E811-A951-000D3AB50A67}</savedqueryvisualizationid><datadescription><datadefinition><fetchcollection><fetch mapping="logical" aggregate="true"><entity name="opportunity"><attribute name="pes_fechafindecontrato" groupby="true" alias="_CRMAutoGen_groupby_column_Num_0" dategrouping="month" /><attribute name="parentaccountid" aggregate="count" alias="_CRMAutoGen_aggregate_column_Num_0" /></entity></fetch></fetchcollection><categorycollection><category alias="_CRMAutoGen_groupby_column_Num_0"><measurecollection><measure alias="_CRMAutoGen_aggregate_column_Num_0" /></measurecollection></category></categorycollection></datadefinition></datadescription><presentationdescription><Chart Palette="None" PaletteCustomColors="91,151,213; 237,125,49; 160,116,166; 255,192,0; 68,114,196; 112,173,71; 37,94,145; 158,72,14; 117,55,125; 153,115,0; 38,68,120; 67,104,43; 124,175,221; 241,151,90; 1

Thank U

*This post is locked for comments

I have the same question (0)
  • Verified answer
    ashlega Profile Picture
    34,477 on at

    Hi,

       I don't know what's causing it to lose the tag, but you can fix it easily by going to the customizations.xml and adding localized content tag before the closing </SavedQuery> tag.. Basically, what's missing is the highlighted part:

    <LocalizedNames>
    <LocalizedName description="VIEW NAME HERE" languagecode="1033" />
    </LocalizedNames>

    </savedquery>

    You can create a solution for that one entity, export it, update the XML, then re-import to the same org.. All subsequent exports (and, so, imports to other orgs) should be fine then.

  • Zucko_mac Profile Picture
    195 on at

    Thank you :)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans