Take the 2-minute tour ×
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It's 100% free, no registration required.

I'm creating a Metadata Schema and when I try to add a new field with a Embedded Schema I get the next error: "The complexType 'uuid:7a55541b-9084-4b21-9351-06b3d1c0b4f2:Content' has already been declared."

The Embedded Schema is the following: enter image description here

And I'm trying to add it in:

enter image description here

Con someone help me? Thank you,

share|improve this question
add comment

1 Answer

up vote 9 down vote accepted

This is happening because you have 2 embedded schemas in the same schema, and did not change the Root Element name for either.

More detail on this is available on this answer.

The short story is that you can fix this by changing the Root Element Name of your embeddable schemas to something else than "Content". You may have to change the schema type to Content first before changing the Root Element name, then change it back to Embeddable Schema.

share|improve this answer
1  
Thank you, it works! :) –  Aroma Jan 2 at 12:03
1  
I think the same thing happens with any two embeddable schemas in the same content schema which happen to have the same root element name. It doesn't have to be 'Content'. –  Quirijn Jan 2 at 20:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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