Hi,
I made changes to the View (added a column to the view with datatype = text). Added the same definition to the CDT by adding new column with datatype=text.
When i try to verify the datastore, it is giving me the below error
The data source schema does not match the type mappings: Wrong column type in Appian.p_my_view for column fs_structure. Found: text, expected: VARCHAR(341) (APNX-2-4056-000). see below for CDT definition and view definition. There are other column exists in the view with text and it doesnt complain.
any help is appreciated.
Discussion posts and replies are publicly visible
Hi there,
Could you check the XSD for the View CDT and see if you have something similar to the code below:
<xsd:element name="financialStructure" nillable="true" type="xsd:string"> <xsd:annotation> <xsd:appinfo source="YOURSOURCE">@Column(name="fs_structure", nullable=true, columnDefinition="VARCHAR(341)")</xsd:appinfo> </xsd:annotation> </xsd:element>
I'm not sure if you already tried that, but maybe you just need to download and edit the XSD and create a new version of the CDT.
Regards,
Acacio B.
, Selvakumar Kumarasamy, Peter Lewis, jasong0004
I had to change my view and cast my text columns into varchar and it fixed the problem.
Many thanks for your time and assistance. Have a great day to you all!
Well done!
Please mark the question as answered.