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="OfficeLocation">
    <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="address1" type="xs:string" />
    <xs:element name="address2" nillable="true" type="xs:string" />
    <xs:element name="city" type="xs:string" />
    <xs:element name="state" type="xs:string" />
    <xs:element name="zip" type="xs:int" />
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
Reply
  • <xs:complexType name="OfficeLocation">
    <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="address1" type="xs:string" />
    <xs:element name="address2" nillable="true" type="xs:string" />
    <xs:element name="city" type="xs:string" />
    <xs:element name="state" type="xs:string" />
    <xs:element name="zip" type="xs:int" />
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
Children
No Data