on ‎2019 Sep 17 7:08 AM
Hi Experts,
I've create a 1:n relationship in Hybris.
<relation localized="false" code="MultimediaAssetAltTextRel" autocreate="true" generate="true">
<sourceElement type="Media" qualifier="media" cardinality="one" />
<targetElement type="ImageAltText" qualifier="imageAltText" cardinality="many" collectiontype="set">
<modifiers read="true" write="true" search="true" optional="true" partof="true"/>
</targetElement>
</relation>
After building and updating platform, when I looked in HMC under Types -> XML representation. I get this.
<collectiontype code="MultimediaAssetAltTextRelimageAltTextColl" elementtype="ImageAltText" autocreate="false" generate="false"/>
I really didn't understand this. Can someone help me with this as I've created a relation but in HMC, it shows, a collection?
Request clarification before answering.
Hi Ashish Agarwal - This is how hybris manages 1:n relation. Please check the table given below:

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashish Agarwal - did the answer meet your expectation? If yes, please accept it so that one can get to know that it has worked for you.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.