Error verifying datastore

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

Parents
  • The easiest way to find the correct syntax you need is to generate a new CDT directly from the database view. You won't actually need the CDT later (and can plan to delete it once you're done), but that should tell you what syntax is needed to connect to that field if you then download the XSD of this new CDT. Then, just copy the element from this new CDT into your old CDT XSD and re-upload, and you should be good to go!

Reply
  • The easiest way to find the correct syntax you need is to generate a new CDT directly from the database view. You won't actually need the CDT later (and can plan to delete it once you're done), but that should tell you what syntax is needed to connect to that field if you then download the XSD of this new CDT. Then, just copy the element from this new CDT into your old CDT XSD and re-upload, and you should be good to go!

Children
No Data