Schema Validation Failed.
Schema validation of the customizations.xml file within the compressed solution package file failed. To manually validate and edit the file, you can download the schema file here and use an XML editor that supports schema validation to get more details.
The 'options' attribute is invalid - The value '' is invalid according to its datatype 'String' - The Pattern constraint failed
This was followed by a snippet of a view XML definition, which gave a hint to the problem. It looks like Dynamics 365 has new attribute 'options' within the fetchXml schema. This is currently set to an empty string, but the solution importer fails to recognise it, hence the error. The affected part of the xml is:
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true" options="" >
Fortunately, there's a relatively simple workaround to remove this attribute from a solutions file.
- Extract the solution xml
- Open customizations.xml
- Do a Find & Replace to remove all the following text: options=""
- Then recreate the .zip and it should import
This affects any solution that contains a view (I haven't tested to see if it also applies to charts or reports), and isn't due to a version mismatch between organisations, as I could replicate it by exporting and importing into the same organisation
Hi David,
ReplyDeleteGreat find - we had the same issue yesterday. However, the update last night to 9.1.0.641 online appears to have resolved the issue.
Thanks
Gary
Good Information... Thanks for sharing
ReplyDeletecloud based crm software in hyderabad
erp software providers in hyderabad
Really great post, Thank you for sharing This knowledge.Excellently written article, if only all bloggers offered the same level of content as you, the internet would be a much better place. Please keep it up!
ReplyDeleteOPAL CRM Software Company
Good post
ReplyDeleteSanjary kids is the best playschool, preschool in Hyderabad, India. Start your play school,preschool in Hyderabad with sanjary kids. Sanjary kids provides programs like Play group,Nursery,Junior KG,Serior KG,and Teacher Training Program.
play school in hyderabad
Preschool in hyderabad
Preschool teacher training course in hyderabad
pre and primary teacher training course in hyderabad
Thanks for sharing the info. keep up the good work going.
ReplyDeletePDUSU BA 1st Year Exam Result
PDUSU BA 2nd Year Exam Result
PDUSU BA 3rd Year Exam Result