<?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/"><channel><title>KB-2131 CDT fails to save with "The following types cannot be used, because they do not have a definition in the Appian data source" error</title><link>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-2131 CDT fails to save with "The following types cannot be used, because they do not have a definition in the Appian data source" error</title><link>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error</link><pubDate>Sun, 21 Jun 2020 22:37:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26c21bc2-c096-41a3-8106-4c932b2c5d98</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 6/21/2020 10:37:41 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Saving&amp;nbsp;the&amp;nbsp;top level of a double nested CDT,&amp;nbsp;similar to the example below, fails with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-11/CDTRelationship.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The following types cannot be used, because they &lt;span class="code-keyword"&gt;do&lt;/span&gt; not have a definition in the Appian data source: [TopCDT (id=&amp;lt;ID&amp;gt;)]&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;A similar error message is also found in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.type.config.xsd.EcoreModelPersister - Error detected by Ecore save preview.&lt;br /&gt;java.lang.IllegalArgumentException: The type {urn:com:appian:types}BottomCDT is referenced, but is not defined in the XSD.&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-128273&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Remove any field(s) referenced in the application server log error message and save the CDTs. In the error example above, the &lt;code&gt;BottomCDT&lt;/code&gt; field would be removed from &lt;code&gt;MiddleCDT&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Save the CDT referenced in the UI error. In the example above, &lt;code&gt;TopCDT&lt;/code&gt; would be saved.&lt;/li&gt;
&lt;li&gt;Add back the field(s) removed in step 1 and save the CDTs. Based on the example in step 1, add back the &lt;code&gt;BottomCDT&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;field in &lt;code&gt;MiddleCDT&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;June 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: CDTs, known issues, application design, open issues&lt;/div&gt;
</description></item><item><title>KB-2131 CDT fails to save with "The following types cannot be used, because they do not have a definition in the Appian data source" error</title><link>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error/revision/10</link><pubDate>Sun, 21 Jun 2020 22:37:41 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26c21bc2-c096-41a3-8106-4c932b2c5d98</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error#comments</comments><description>Revision 10 posted to Appian Knowledge Base by Parmida Borhani on 6/21/2020 10:37:41 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Saving&amp;nbsp;the&amp;nbsp;top level of a double nested CDT,&amp;nbsp;similar to the example below, fails with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/CDTRelationship.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The following types cannot be used, because they &lt;span class="code-keyword"&gt;do&lt;/span&gt; not have a definition in the Appian data source: [TopCDT (id=&amp;lt;ID&amp;gt;)]&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;A similar error message is also found in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.type.config.xsd.EcoreModelPersister - Error detected by Ecore save preview.&lt;br /&gt;java.lang.IllegalArgumentException: The type {urn:com:appian:types}BottomCDT is referenced, but is not defined in the XSD.&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-128273&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Remove any field(s) referenced in the application server log error message and save the CDTs. In the error example above, the &lt;code&gt;BottomCDT&lt;/code&gt; field would be removed from &lt;code&gt;MiddleCDT&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Save the CDT referenced in the UI error. In the example above, &lt;code&gt;TopCDT&lt;/code&gt; would be saved.&lt;/li&gt;
&lt;li&gt;Add back the field(s) removed in step 1 and save the CDTs. Based on the example in step 1, add back the &lt;code&gt;BottomCDT&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;field in &lt;code&gt;MiddleCDT&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;June 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: CDTs, known issues, application design, open issues&lt;/div&gt;
</description></item><item><title>DRAFT SP-4562 CDT fails to save with "The following types cannot be used, because they do not have a definition in the Appian data source" error</title><link>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error/revision/9</link><pubDate>Thu, 18 Jun 2020 18:02:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26c21bc2-c096-41a3-8106-4c932b2c5d98</guid><dc:creator>Rebecca Jonas</dc:creator><comments>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error#comments</comments><description>Revision 9 posted to Appian Knowledge Base by Rebecca Jonas on 6/18/2020 6:02:02 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Saving&amp;nbsp;the&amp;nbsp;top level of a double nested CDT,&amp;nbsp;similar to the example below, fails with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/CDTRelationship.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The following types cannot be used, because they &lt;span class="code-keyword"&gt;do&lt;/span&gt; not have a definition in the Appian data source: [TopCDT (id=&amp;lt;ID&amp;gt;)]&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;A similar error message is also found in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.type.config.xsd.EcoreModelPersister - Error detected by Ecore save preview.&lt;br /&gt;java.lang.IllegalArgumentException: The type {urn:com:appian:types}BottomCDT is referenced, but is not defined in the XSD.&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-128273&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Remove any field(s) referenced in the application server log error message and save the CDTs. In the error example above, the &lt;code&gt;BottomCDT&lt;/code&gt; field would be removed from &lt;code&gt;MiddleCDT&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Save the CDT referenced in the UI error. In the example above, &lt;code&gt;TopCDT&lt;/code&gt; would be saved.&lt;/li&gt;
&lt;li&gt;Add back the field(s) removed in step 1 and save the CDTs. Based on the example in step 1, add back the &lt;code&gt;BottomCDT&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;field in &lt;code&gt;MiddleCDT&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;June 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: CDTs, known issues, application design, open issues&lt;/div&gt;
</description></item><item><title>DRAFT SP-4562 CDT fails to save with "The following types cannot be used, because they do not have a definition in the Appian data source" error</title><link>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error/revision/8</link><pubDate>Wed, 17 Jun 2020 22:12:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26c21bc2-c096-41a3-8106-4c932b2c5d98</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Zach Puderbach on 6/17/2020 10:12:22 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Saving&amp;nbsp;the&amp;nbsp;top level of a double nested CDT,&amp;nbsp;similar to the example below, fails with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/CDTRelationship.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The following types cannot be used, because they &lt;span class="code-keyword"&gt;do&lt;/span&gt; not have a definition in the Appian data source: [TopCDT (id=&amp;lt;ID&amp;gt;)]&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;A similar error message is also found in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.type.config.xsd.EcoreModelPersister - Error detected by Ecore save preview.&lt;br /&gt;java.lang.IllegalArgumentException: The type {urn:com:appian:types}BottomCDT is referenced, but is not defined in the XSD.&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-128273&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Remove any field(s) referenced in the application server log error message and save the CDTs.&amp;nbsp;For example, in the error example above, the &lt;code&gt;BottomCDT&lt;/code&gt; field would be removed from &lt;code&gt;MiddleCDT&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Save the CDT referenced in the UI error. In the example above, &lt;code&gt;TopCDT&lt;/code&gt; would be saved.&lt;/li&gt;
&lt;li&gt;Add back the field(s) removed in step 1 and save the CDTs. Based on the example in step 1, add back the &lt;code&gt;BottomCDT&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;field in &lt;code&gt;MiddleCDT&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;June 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: CDTs, known issues, application design, open issues&lt;/div&gt;
</description></item><item><title>DRAFT SP-4562 CDT fails to save with "The following types cannot be used, because they do not have a definition in the Appian data source" error</title><link>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error/revision/7</link><pubDate>Wed, 17 Jun 2020 22:10:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26c21bc2-c096-41a3-8106-4c932b2c5d98</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Zach Puderbach on 6/17/2020 10:10:29 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Saving&amp;nbsp;the&amp;nbsp;top level of a double nested CDT,&amp;nbsp;similar to the example below, fails with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/CDTRelationship.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The following types cannot be used, because they &lt;span class="code-keyword"&gt;do&lt;/span&gt; not have a definition in the Appian data source: [TopCDT (id=&amp;lt;ID&amp;gt;)]&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;A similar error message is also found in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.type.config.xsd.EcoreModelPersister - Error detected by Ecore save preview.&lt;br /&gt;java.lang.IllegalArgumentException: The type {urn:com:appian:types}BottomCDT is referenced, but is not defined in the XSD.&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-128273&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Remove any field(s) referenced in the application server log error message and save the CDTs.&amp;nbsp;For example, in the error example above, the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;tt&gt;BottomCDT&lt;/tt&gt;&lt;/code&gt;&amp;nbsp;field would be removed from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;tt&gt;MiddleCDT&lt;/tt&gt;.&lt;/li&gt;
&lt;li&gt;Save the CDT referenced in the UI error. In the example above,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;tt&gt;TopCDT&lt;/tt&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;would be saved.&lt;/li&gt;
&lt;li&gt;Add back the field(s) removed in step 1 and save the CDTs. Based on the example in step 1, add back the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;tt&gt;BottomCDT&lt;/tt&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;field in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;tt&gt;MiddleCDT&lt;/tt&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;June 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: CDTs, known issues, application design, open issues&lt;/div&gt;
</description></item><item><title>DRAFT SP-4562 CDT fails to save with "The following types cannot be used, because they do not have a definition in the Appian data source" error</title><link>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error/revision/6</link><pubDate>Wed, 17 Jun 2020 22:10:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26c21bc2-c096-41a3-8106-4c932b2c5d98</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error#comments</comments><description>Revision 6 posted to Appian Knowledge Base by Zach Puderbach on 6/17/2020 10:10:00 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Saving&amp;nbsp;the&amp;nbsp;top level of a double nested CDT,&amp;nbsp;similar to the example below, fails with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/CDTRelationship.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The following types cannot be used, because they &lt;span class="code-keyword"&gt;do&lt;/span&gt; not have a definition in the Appian data source: [TopCDT (id=&amp;lt;ID&amp;gt;)]&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;A similar error message is also found in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.type.config.xsd.EcoreModelPersister - Error detected by Ecore save preview.&lt;br /&gt;java.lang.IllegalArgumentException: The type {urn:com:appian:types}BottomCDT is referenced, but is not defined in the XSD.&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-128273&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Remove any field(s) referenced in the application server log error message and save the CDTs.&amp;nbsp;For example, in the error example above, the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;tt&gt;BottomCDT&lt;/tt&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;field would be removed from&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;tt&gt;MiddleCDT&lt;/tt&gt;.&lt;/li&gt;
&lt;li&gt;Save the CDT referenced in the UI error. In the example above,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;tt&gt;TopCDT&lt;/tt&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;would be saved.&lt;/li&gt;
&lt;li&gt;Add back the field(s) removed in step 1 and save the CDTs. Based on the example in step 1, add back the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;tt&gt;BottomCDT&lt;/tt&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;field in&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;tt&gt;MiddleCDT&lt;/tt&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;June 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: CDTs, known issues, application design, open issues&lt;/div&gt;
</description></item><item><title>DRAFT SP-4562 CDT fails to save with "The following types cannot be used, because they do not have a definition in the Appian data source" error</title><link>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error/revision/5</link><pubDate>Tue, 16 Jun 2020 22:05:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26c21bc2-c096-41a3-8106-4c932b2c5d98</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error#comments</comments><description>Revision 5 posted to Appian Knowledge Base by Zach Puderbach on 6/16/2020 10:05:35 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Saving&amp;nbsp;the&amp;nbsp;top level of a double nested CDT,&amp;nbsp;similar to the example below, fails with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/CDTRelationship.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The following types cannot be used, because they &lt;span class="code-keyword"&gt;do&lt;/span&gt; not have a definition in the Appian data source: [TopCDT (id=&amp;lt;ID&amp;gt;)]&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;A similar error message is also found in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.type.config.xsd.EcoreModelPersister - Error detected by Ecore save preview.&lt;br /&gt;java.lang.IllegalArgumentException: The type {urn:com:appian:types}BottomCDT is referenced, but is not defined in the XSD.&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-128273&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Remove any fields referencing the CDT&amp;nbsp;from the application server log error and save the those CDTs.&amp;nbsp;For exmaple, Remove &amp;quot;BottomCDT&amp;quot; in &amp;quot;MiddleCDT&amp;quot; and save &amp;quot;MiddleCDT&amp;quot;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Save the CDT that originally failed to save. For example, save the&amp;nbsp;&amp;quot;TopCDT&amp;quot;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Add back the removed fields and save the CDTs. For example, add back the &amp;quot;BottomCDT&amp;quot; field in &amp;quot;Middle CDT&amp;quot; and save &amp;quot;MiddleCDT&amp;quot;.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;June 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: CDTs, known issues, application design, open issues&lt;/div&gt;
</description></item><item><title>DRAFT SP-4562 CDT fails to save with "The following types cannot be used, because they do not have a definition in the Appian data source" error</title><link>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error/revision/4</link><pubDate>Tue, 16 Jun 2020 22:00:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26c21bc2-c096-41a3-8106-4c932b2c5d98</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error#comments</comments><description>Revision 4 posted to Appian Knowledge Base by Zach Puderbach on 6/16/2020 10:00:22 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Saving&amp;nbsp;the parent of a nested CDT, which also points to a nested CDT,(a&amp;nbsp;double nested CDT), similar to the example below, fails with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/CDTRelationship.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The following types cannot be used, because they &lt;span class="code-keyword"&gt;do&lt;/span&gt; not have a definition in the Appian data source: [TopCDT (id=&amp;lt;ID&amp;gt;)]&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;A similar error message is also found in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.type.config.xsd.EcoreModelPersister - Error detected by Ecore save preview.&lt;br /&gt;java.lang.IllegalArgumentException: The type {urn:com:appian:types}BottomCDT is referenced, but is not defined in the XSD.&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-128273&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Remove any fields referencing the CDT in the error message and save. (EX. Remove &amp;quot;BottomCDT&amp;quot; in &amp;quot;MiddleCDT&amp;quot; and save &amp;quot;MiddleCDT&amp;quot;)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Save the CDT that originally failed to save (EX. Save the top level CDT)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Add back the removed fields referencing the not found CDT. (EX. Add back the &amp;quot;BottomCDT&amp;quot; field in &amp;quot;Middle CDT&amp;quot; and save &amp;quot;MiddleCDT&amp;quot;).&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;June 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: CDTs, known issues, application design, open issues&lt;/div&gt;
</description></item><item><title>DRAFT SP-4562 CDT fails to save with "The following types cannot be used, because they do not have a definition in the Appian data source" error</title><link>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error/revision/3</link><pubDate>Tue, 16 Jun 2020 21:54:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26c21bc2-c096-41a3-8106-4c932b2c5d98</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error#comments</comments><description>Revision 3 posted to Appian Knowledge Base by Zach Puderbach on 6/16/2020 9:54:08 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Saving&amp;nbsp;the parent of a nested CDT, which also points to a nested CDT,(a&amp;nbsp;double nested CDT), similar to the example below, fails with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/CDTRelationship.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The following types cannot be used, because they &lt;span class="code-keyword"&gt;do&lt;/span&gt; not have a definition in the Appian data source: [BottomCDT (id=&amp;lt;ID&amp;gt;)]&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;A similar error message is also found in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.type.config.xsd.EcoreModelPersister - Error detected by Ecore save preview.&lt;br /&gt;java.lang.IllegalArgumentException: The type {urn:com:appian:types}BottomCDT is referenced, but is not defined in the XSD.&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-128273&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Remove any fields referencing the CDT in the error message and save. (EX. Remove &amp;quot;BottomCDT&amp;quot; in &amp;quot;MiddleCDT&amp;quot; and save &amp;quot;MiddleCDT&amp;quot;)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Save the CDT that originally failed to save (EX. Save the top level CDT)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Add back the removed fields referencing the not found CDT. (EX. Add back the &amp;quot;BottomCDT&amp;quot; field in &amp;quot;Middle CDT&amp;quot; and save &amp;quot;MiddleCDT&amp;quot;).&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;June 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: CDTs, known issues, application design, open issues&lt;/div&gt;
</description></item><item><title>DRAFT SP-4562 CDT fails to save with "The following types cannot be used, because they do not have a definition in the Appian data source" error</title><link>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error/revision/2</link><pubDate>Thu, 11 Jun 2020 17:27:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26c21bc2-c096-41a3-8106-4c932b2c5d98</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error#comments</comments><description>Revision 2 posted to Appian Knowledge Base by Zach Puderbach on 6/11/2020 5:27:53 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Saving the top level of a double nested CDT fails with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="/resized-image/__size/0x240/__key/communityserver-wikis-components-files/00-00-00-00-13/CDTRelationship.png" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The following types cannot be used, because they &lt;span class="code-keyword"&gt;do&lt;/span&gt; not have a definition in the Appian data source: [BottomCDT (id=&amp;lt;ID&amp;gt;)]&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;A similar error message is also found in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.type.config.xsd.EcoreModelPersister - Error detected by Ecore save preview.&lt;br /&gt;java.lang.IllegalArgumentException: The type {urn:com:appian:types}BottomCDT is referenced, but is not defined in the XSD.&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-128273&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span&gt;Remove any fields referencing the CDT in the error message and save the CDT.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Save the top level CDT.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Add back the removed fields referencing the not found CDT.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;June 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: CDTs, known issues, application design, open issues&lt;/div&gt;
</description></item><item><title>DRAFT SP-4562 CDT fails to save with "The following types cannot be used, because they do not have a definition in the Appian data source" error</title><link>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error/revision/1</link><pubDate>Wed, 03 Jun 2020 17:01:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:26c21bc2-c096-41a3-8106-4c932b2c5d98</guid><dc:creator>Zach Puderbach</dc:creator><comments>https://community.appian.com/support/w/kb/1850/kb-2131-cdt-fails-to-save-with-the-following-types-cannot-be-used-because-they-do-not-have-a-definition-in-the-appian-data-source-error#comments</comments><description>Revision 1 posted to Appian Knowledge Base by Zach Puderbach on 6/3/2020 5:01:19 PM&lt;br /&gt;
&lt;h2&gt;&lt;span&gt;Symptoms&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;Saving a CDT nested CDT fails with the following error:&lt;/span&gt;&lt;/p&gt;
&lt;pre class="code-java"&gt;The following types cannot be used, because they &lt;span class="code-keyword"&gt;do&lt;/span&gt; not have a definition in the Appian data source: [PIA_Inspection (id=2976), PIA_Employee_Skill (id=2978), PIA_Timeoff (id=2980), PIA_Complaint (id=2982), PIA_Customer_Giveaway (id=2984), PIA_Franchise (id=2968), PIA_Customer_Marketing_Material (id=2986), PIA_Employee (id=2970), PIA_Customer (id=2972), PIA_Loyalty_Transaction (id=2974)]&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;A similar error message is also found in the application server log:&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;ERROR com.appiancorp.type.config.xsd.EcoreModelPersister - Error detected by Ecore save preview.&lt;br /&gt;java.lang.IllegalArgumentException: The type {urn:com:appian:types}Example_Type is referenced, but is not defined in the XSD.&lt;/pre&gt;
&lt;h2&gt;&lt;span&gt;Cause&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;This issue has been reported to the Appian Product Team. The reference number for this issue is&amp;nbsp;&lt;strong&gt;AN-128273&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Workaround&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This section is optional and should only be used as an alternative action if there is a massive technical debt associated with performing the action in the above section for customers (such as upgrading). It can also be used if there is a solution to the issue in the article but is more inconvenient to implement or it causes other undesirable behavior and wouldn&amp;rsquo;t warrant being an action.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span&gt;Affected Versions&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Last Reviewed:&amp;nbsp;June 2020&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: CDTs, known issues, application design, open issues&lt;/div&gt;
</description></item></channel></rss>