<?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>How to properly include a CDT from a different namespace</title><link>https://community.appian.com/discussions/f/general/8360/how-to-properly-include-a-cdt-from-a-different-namespace</link><description>Below is a sample CRT structure. What I have is an old CDT which is in an old namespace, and I am creating a new CDT in a new namespace, I would like to use the old cdt object from the old namespace in my new cdt but it is not working, please advise.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to properly include a CDT from a different namespace</title><link>https://community.appian.com/thread/36607?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2016 16:20:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a8b5273a-8648-43af-acee-414d356fa299</guid><dc:creator>Adel Ammari</dc:creator><description>Thanks, this helped me find a solution, all i had to do is replace:&lt;br /&gt;  &amp;lt;xsd:include schemaLocation=&amp;quot;{Old_CDT_Schema}Old_CDT.xsd&amp;quot;/&amp;gt;&lt;br /&gt;  with:&lt;br /&gt;  &amp;lt;xsd:import namespace=&amp;quot;Old_CDT_Schema&amp;quot; schemaLocation=&amp;quot;{Old_CDT_Schema}Old_CDT.xsd&amp;quot;/&amp;gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to properly include a CDT from a different namespace</title><link>https://community.appian.com/thread/36604?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2016 14:46:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9e21f528-6778-49ad-baec-57bab671063c</guid><dc:creator>Stefan Helzle</dc:creator><description>I think it should work this way. But why not create the CDT in Appian, add the child element there, download the XSD and then add the annotations. This way you use Appian to get the import of the other CDT right.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to properly include a CDT from a different namespace</title><link>https://community.appian.com/thread/36602?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2016 13:01:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e5e5ca8e-3ecf-4855-b5f2-3b0ff02a3ed1</guid><dc:creator>Adel Ammari</dc:creator><description>I get this error, attached:&lt;br /&gt;- An error occurred while trying to save the type information to the primary data source. No types have been imported. Cause: The type {ucExchangeRates}UC_ExchangeRates is referenced, but is not defined in the XSD. (APNX-1-4050-002) &lt;br /&gt;&lt;br /&gt;- XSD Parsing Message: XSD: The location &amp;#39;{ucExchangeRates}UC_ExchangeRates.xsd&amp;#39; may not resolve to something other than a schema (APNX-2-4047-000) &lt;br /&gt;&lt;br /&gt;- XSD Parsing Message: XSD: Type reference &amp;#39;ucExchangeRates#UC_ExchangeRates&amp;#39; is unresolved (APNX-2-4047-000) &lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;a href="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/CDT-Issue.jpg"&gt;&lt;img src="/cfs-filesystemfile/__key/communityserver-discussions-components-files/11/CDT-Issue.jpg" alt=" " /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to properly include a CDT from a different namespace</title><link>https://community.appian.com/thread/36601?ContentTypeID=1</link><pubDate>Wed, 07 Sep 2016 12:56:25 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7a1c24fe-85e5-4b17-99b3-f0dcb99884a3</guid><dc:creator>Adel Ammari</dc:creator><description>...lable=true)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@ManyToOne(cascade=CascadeType.NONE)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/xsd:appinfo&amp;gt;&lt;br /&gt;        &amp;lt;/xsd:annotation&amp;gt;&lt;br /&gt;      &amp;lt;/xsd:element&amp;gt;&lt;br /&gt;    &amp;lt;/xsd:sequence&amp;gt;&lt;br /&gt;  &amp;lt;/xsd:complexType&amp;gt;&lt;br /&gt;&amp;lt;/xsd:schema&amp;gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>