Hi all, I have a strange issue where the changes I make to a CDT that has a field of type Document, are not saved when I click Save
Upon clicking Save, the ID is no longer the Primary Key and the length of the text field disappears (after I have set the primary key and the field length).
I have also tried to import from an XSD where the fields are defined correctly, but after import, the changes are gone again.
I only have this issue when the CDT has a field of type Document in it.
Can anyone explain to me why this is happening, and provide a possible solution?
The only solution I can think of is to change the type from Document to Number (Integer) and just save the document ID in the field.
When I remove the field of type Document, it works fine and the changes are kept and saved.
Thank you,
Morné
Discussion posts and replies are publicly visible
Hi Chandu, I am not sure if it is a Primitive Data Type or not, because I see the namespace is an Appian namespace, as seen in the screenshot below, which is the same namespace as the Text and Number (Integer) Primitive Data Types:
Maybe this is a new 18.2 object?
Not sure if this helps, but in the XSD, it looks like this: (notice the type attribute is a:CollaborationDocument)
<xsd:element form="unqualified" name="item" nillable="true" type="a:CollaborationDocument" />
Thanks,