Skip to Content
1
Former Member
Dec 27, 2018 at 04:10 PM

relation ordered="true" when collectiontype="set"

440 Views

Hi,

In a relation I want to be able to order my targetElement. When my target has the collectiontype set, the ordered functionality does not work. I don't receive an error.

My code in the items.xml is:

 <relation code="DesignDesignTypeRelation" localized="false" autocreate="true" generate="true">
             <deployment table="des_2_des_typ" typecode="11011"/>
             <sourceElement qualifier="designs" type="Design" cardinality="many"/>
             <targetElement qualifier="designTypes" type="DesignType" cardinality="many" collectiontype="set" ordered="true" />
 </relation>


Without the collectiontype the ordered functionality works

Can somebody explain me what I need to do to order a set?