5

When opening components in the CME, should the XML not match with the Schema XSD, the GUI will throw out any nodes that are no longer part of the XSD, and (typically) allow this to save.

I'm wondering if there's a core service function to perform this operation or if that's something that needs to be written?

Thanks

John

1 Answer 1

6

Yes, the function is available if you are on Tridion 2013 or later version of Tridion. The function is SynchronizeWithSchemaAndUpdate.

There is one nice article by Eric for using this functionality from core service: Synchronize components

If you are using 2011 then there should be power tools for it, details are given here: Synchronize Component in version older than 2013

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.