<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Field type in parent CDT is getting changed from document to anytype when child CDT is updated</title><link>https://community.appian.com/discussions/f/data/24788/field-type-in-parent-cdt-is-getting-changed-from-document-to-anytype-when-child-cdt-is-updated</link><description>Hello All, 
 We observed one issue 
 1. Parent CDT -&amp;gt; one of the columns type is document 
 2. We updated the child CDT (added a new column) upon updating the child CDT, the parent CDT filed type changed from document to anytype. 
 Did anyone face the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Field type in parent CDT is getting changed from document to anytype when child CDT is updated</title><link>https://community.appian.com/thread/96252?ContentTypeID=1</link><pubDate>Fri, 10 Jun 2022 17:41:15 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:496d1edb-72cb-4ce6-bd81-dd4bfe3c8397</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;I just reproduced it on my 22.2 environment.&amp;nbsp; In my child CDT the only change I needed to make was addition of a single character to the end of one of the field names.&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;Before&lt;/span&gt;:&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/16/pastedimage1654883534153v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;After&lt;/span&gt;:&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/16/pastedimage1654883580619v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/members/snehay0001"&gt;Sneha Yada&lt;/a&gt; - can you confirm whether or not you raised a support case for this already?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Field type in parent CDT is getting changed from document to anytype when child CDT is updated</title><link>https://community.appian.com/thread/95989?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2022 07:38:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2879bfb7-fa6f-490e-af5c-ebb63ddf1c01</guid><dc:creator>Sneha Yada</dc:creator><description>&lt;p&gt;Thank you for checking it.&lt;/p&gt;
&lt;p&gt;We are using 21.2 and the issue exists in this version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Field type in parent CDT is getting changed from document to anytype when child CDT is updated</title><link>https://community.appian.com/thread/95983?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2022 07:24:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9da5efee-706a-4403-8c48-0cbc2cbf8951</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I was just testing this on 22.2 but cannot reproduce it. My document type field stays a document.&lt;/p&gt;
&lt;p&gt;But I support Mikes recommendation of opening a support case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Field type in parent CDT is getting changed from document to anytype when child CDT is updated</title><link>https://community.appian.com/thread/95972?ContentTypeID=1</link><pubDate>Mon, 06 Jun 2022 03:09:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ce76498d-a4e1-4aa1-af35-b3fa77d95e13</guid><dc:creator>Sneha Yada</dc:creator><description>&lt;p&gt;Thank You Mike for your response, we will raise a support case for this.&lt;/p&gt;
&lt;p&gt;Yes, we will be able to replicate the issue by making (adding a new field/renaming existing field/ change filed specifications etc) any changes to child cdt.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Field type in parent CDT is getting changed from document to anytype when child CDT is updated</title><link>https://community.appian.com/thread/95953?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 18:15:24 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8a5bd578-1e99-45ae-a492-c2e3c399e4b7</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="59361" url="~/discussions/f/data/24788/field-type-in-parent-cdt-is-getting-changed-from-document-to-anytype-when-child-cdt-is-updated/95915#95915"]If you modify it outside of Appian[/quote]
&lt;p&gt;This user is not saying they&amp;#39;re modifying the CDT outside of Appian, though.&lt;/p&gt;
&lt;p&gt;&lt;a href="/members/snehay0001"&gt;Sneha Yada&lt;/a&gt;, I just reproduced the described behavior in my TEST environment using 2 brand new CDTs (parent and child, similar to the ones you pictured).&amp;nbsp; The Parent CDT has 2 separate fields of Document type, and after simply adding a new field to the Child CDT, the data type of the Document field in the Parent had changed itself to &amp;quot;Integer&amp;quot; instead.&lt;/p&gt;
&lt;p&gt;This is definitely a bug.&amp;nbsp; I recommend you open a Support Case with Appian - this is something they&amp;#39;ll need to address.&lt;/p&gt;
&lt;p&gt;Edit to add: I can also reproduce the behavior just by *minorly renaming* one of the fields in the Child CDT.&amp;nbsp; As in, I didn&amp;#39;t even have to add a *new* field to demonstrate the breakage.&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/16/pastedimage1654280319128v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Field type in parent CDT is getting changed from document to anytype when child CDT is updated</title><link>https://community.appian.com/thread/95918?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 06:58:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4134dd15-500c-48cc-9257-a78cdf80e7fd</guid><dc:creator>Sneha Yada</dc:creator><description>&lt;p&gt;Parent CDT is transient CDT ( not added to any data store/ CDT is not mapped any table in DB).&lt;/p&gt;
&lt;p&gt;In this case, is it expected that parent CDT data types that exist only in Appian get changed to number/ any type ?&lt;/p&gt;
&lt;p&gt;Sorry, I didn&amp;#39;t understand &amp;quot;&lt;span&gt;I recommend to manage the data structures only in CDTs and let Appian maintain the DB schema&amp;quot;, can you please explain with an example?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Field type in parent CDT is getting changed from document to anytype when child CDT is updated</title><link>https://community.appian.com/thread/95915?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 06:25:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d0a69cd7-c246-4e86-a6c1-0ed04ca0d8ca</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;The data type &amp;quot;document&amp;quot; does only exist inside Appian. If you modify it outside of Appian, it will turn into an integer as this is the&amp;nbsp;underlying representation.&lt;/p&gt;
&lt;p&gt;I consider this to be expected behaviour.&lt;/p&gt;
&lt;p&gt;BTW, I recommend to manage the data structures only in CDTs and let Appian maintain the DB schema. I think this fits the low-code spirit of Appian way better than hand crafted XSDs or SQL scripts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Field type in parent CDT is getting changed from document to anytype when child CDT is updated</title><link>https://community.appian.com/thread/95909?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 03:30:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:687f9d28-49fa-4caf-8c79-75edf0f207c6</guid><dc:creator>Sneha Yada</dc:creator><description>&lt;p&gt;Yes, I tried to add a new field in both ways by updating the XSD/ updating from the designer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Field type in parent CDT is getting changed from document to anytype when child CDT is updated</title><link>https://community.appian.com/thread/95908?ContentTypeID=1</link><pubDate>Fri, 03 Jun 2022 03:29:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1751e018-76ae-4f77-a086-ea7f4bcfb0ed</guid><dc:creator>Sneha Yada</dc:creator><description>&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;1. Parent CDT with document field and child CDT.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1654226550191v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;2.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;2.1 Child CDT before the update&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1654226625426v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2.2 Added new field in the CDT&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1654226856621v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;3. After Step 2.2 parent CDT&amp;#39;s fields type changed from document to number&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/16/pastedimage1654226954966v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank You,&lt;/p&gt;
&lt;p&gt;Sneha.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Field type in parent CDT is getting changed from document to anytype when child CDT is updated</title><link>https://community.appian.com/thread/95866?ContentTypeID=1</link><pubDate>Thu, 02 Jun 2022 12:45:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fee3f2f3-a2e2-4d2e-b3a9-a7be671acf5b</guid><dc:creator>julienc</dc:creator><description>&lt;p&gt;Did you download the XSD, update it to add the field, then upload it to create a new version (as recommended by Appian)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Field type in parent CDT is getting changed from document to anytype when child CDT is updated</title><link>https://community.appian.com/thread/95856?ContentTypeID=1</link><pubDate>Thu, 02 Jun 2022 10:14:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5e23947d-aef4-4b59-8a22-86e3fb3c841b</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I do not really understand.&lt;/p&gt;
&lt;p&gt;In the parent there is a field of type document. Then there is some, probably nested, child CDT.&lt;/p&gt;
&lt;p&gt;What do you mean with &amp;quot;added a new column&amp;quot;? Is this about a new field?&lt;/p&gt;
&lt;p&gt;Where do you see this behaviour? Do you have some code you can share?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>