Hi , does anyone have a real example of CDT with the association one-to-man

Hi ,
does anyone have a real example of CDT with the association one-to-many?
I don't know how to set correctly the generic string schema (eg. xmlns="urn:appian:example:assocations:one-to-many" ).

Thanks...

OriginalPostID-34827

OriginalPostID-34827

  Discussion posts and replies are publicly visible

Parents
  • <xs:complexType name="Company">
    <xs:sequence>
    <xs:element name="id" type="xs:int">
    <xs:annotation>
    <xs:appinfo source="appian.jpa">
                        @Id
                        @GeneratedValue
    </xs:appinfo>
    </xs:annotation>
    </xs:element>
    <xs:element name="name" type="xs:string" />
    <xs:element maxOccurs="unbounded" name="locations" type="OfficeLocation" />
    </xs:sequence>
    </xs:complexType>
Reply
  • <xs:complexType name="Company">
    <xs:sequence>
    <xs:element name="id" type="xs:int">
    <xs:annotation>
    <xs:appinfo source="appian.jpa">
                        @Id
                        @GeneratedValue
    </xs:appinfo>
    </xs:annotation>
    </xs:element>
    <xs:element name="name" type="xs:string" />
    <xs:element maxOccurs="unbounded" name="locations" type="OfficeLocation" />
    </xs:sequence>
    </xs:complexType>
Children
No Data