I am trying to create a schema in SDL Tridion to satisfy these requirements.
I have two main fields:
- ABCD, which has one sub field as "XYZ"
- AAAA, which has two sub fields namely "Name" and "Value"
Both main fields are repeatable and and should be movable.
Example patterns may look as per requirement:
ABCD----AAAA----ABCD---AAAA
AAAA----ABCD----ABCD----AAAA
The main fields AAAA and ABCD should be moved from one to another.
Say if I create a component with the created schema and the first main fields as "AAAA" and second field as "ABCD", then I should be able to move ABCD above the AAAA.
I have tried creating an embedded schema with two fields:
select Main field: As a list, where I select either ABCD and AAAA as a TEXT type.
Text: enter the text.
Added this schema as part of content schema as multivalued which allows "reposting and repeating".
Problems facing:
- As the fields are not common to both main fields, I am unable to enter the data for it and the common subfield for both main fields doesn't satisfy the need..
Solution Needed:
If I create two embedded schemas with the names "ABCD" and "AAAA" with the required fields, can I add these schemas as part of drop down in the main content schema?
If user selects embedded schema "ABCD", it should display only "XYZ" field. If user selects "AAAA", i should display its subfields as "Name" and "Value".
If this is not feasible can you please suggest the best possible to solution to meet the requirement?
I am using DWT TBB and XSLT TBB for rendition part.
Thank you.