Skip to main content
August 2, 2022
Question

Download XSD file from another Datastore

  • August 2, 2022
  • 1 reply
  • 0 views

Hi Community,

I need to replace the XSD file of certain CDT to retrieve its data from different Data store.

My XSD file:

<xsd:schema xmlns:xsd="">www.w3.org/.../XMLSchema" xmlns:tns="urn:com:appian:types:TFO" targetNamespace="urn:com:appian:types:TFO">
<xsd:complexType name="TFO_REF_CRS_Status">
<xsd:annotation>
<xsd:appinfo source="appian.jpa">@Table(name="CRSStatus")</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="id" nillable="true" type="xsd:int">
<xsd:annotation>
<xsd:appinfo source="appian.jpa">@Id @GeneratedValue @Column(name="PkCRSStatus_Id", nullable=false, unique=true, columnDefinition="INT")</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="name" nillable="true" type="xsd:string">
<xsd:annotation>
<xsd:appinfo source="appian.jpa">@Column(name="CRSStatus", columnDefinition="NVARCHAR(2147483647)")</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>

Is it possible ? What changes should I do to the code ?

1 reply

stefanhelzle0001
Brainy
August 2, 2022

The configuration of the data store is not done in the XSD.

In case you mean the database table, then you would just have to change the @Table annotation.