1

I have one schema which needs to be renamed just to accomplish business naming standards. We already have components created and published based on this schema. At web layer we are using DD4T Java Spring MVC to feth content from CMS.

If I do rename the schema and publish the components again; will the application break ?

2 Answers 2

2

You can change schema name anytime but remember don't change Root element name if not required, if you still want to change the Root Element Name too then you have to update the same in your Java DD4T application Modeling.

1

Looks a bit vague question to me - If I do rename the schema and publish the components again; will the application break ? - You really need to look into your code - in case you have written custom broker queries based on Schema Name or if there is any code using Schema Name for the functionality like Event System code or may be some custom page - This may result in application and/or CMS break.

So you need to look whether there is any dependency in your implementation on the Schema Name.

On the other hand if there is no dependency, you may change the Name of the schema safely from Tridion perspective - refer the answer from Priyank - It is not recommended to change the Xml Root Element name of the schema - because if you change that you may require to synchronize all components followed by a publishing based on that schema plus be sure that it won't work if you try to Content Port from one to another existing environment having this schema with older root element name.

In my opinion, changing just the schema name as per the business naming standard but not the Root Element Name looks weird to me - but yes that may look OK as the business people won't look at the Root Element Name probably and won't understand its purpose as well.

Your Answer

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

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