Hi, I want to set up column length in CDT. The maximum length should be 500

Hi,
I want to set up column length in CDT. The maximum length should be 5000 instead of default 255.
The same for decimal values, which should have 4 decimal digits instead of 2.
How can I do that in CDTs?
Thanks

OriginalPostID-144668

OriginalPostID-144668

  Discussion posts and replies are publicly visible

Parents
  • Hi, you can set the length through customer the XSD :
    <xsd:element name="yourfieldname" nillable="true" type="xsd:string">
              <xsd:annotation>
                        <xsd:appinfo source="appian.jpa">
                        @Column(length=5000)
                        </xsd:appinfo>
              </xsd:annotation>
    </xsd:element>

    Hope its can help.
Reply
  • Hi, you can set the length through customer the XSD :
    <xsd:element name="yourfieldname" nillable="true" type="xsd:string">
              <xsd:annotation>
                        <xsd:appinfo source="appian.jpa">
                        @Column(length=5000)
                        </xsd:appinfo>
              </xsd:annotation>
    </xsd:element>

    Hope its can help.
Children
No Data