<?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>Need schema location and namespace of xsd</title><link>https://community.appian.com/discussions/f/data/19389/need-schema-location-and-namespace-of-xsd</link><description>Hi , 
 
 I want to import xsd into another xsd. But i don&amp;#39;t know how can i get schema location n namaespace of that xsd. 
 
 Like the below one we have in our app, same way i need to create for other app. 
 
 &amp;lt;xsd:import namespace=&amp;quot; &amp;quot;&amp;gt;types.sample.com</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Need schema location and namespace of xsd</title><link>https://community.appian.com/thread/75846?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2020 16:51:28 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1803dec0-5465-4775-adf2-11a836b81f57</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;I can&amp;#39;t quite tell what your question is, so I rephrased your question in two ways, hopefully one of these is correct:&lt;/p&gt;
&lt;p&gt;1. How do I know what to put for the namespace:&amp;nbsp;&lt;strong&gt;http://****.****.**.com:76532/suite/types/&lt;/strong&gt;?&lt;/p&gt;
&lt;p&gt;That is just the namespace provided in the CDT. To be honest, the namespace isn&amp;#39;t that important in Appian. We usually recommend setting the namespace to be the default Appian namespace with your application prefix appended like I did above:&amp;nbsp;targetNamespace=&amp;quot;urn:com:appian:types:PDL&amp;quot;&lt;/p&gt;
&lt;p&gt;2. How do I call the type in an expression?&lt;/p&gt;
&lt;p&gt;Just add &amp;quot;type!&amp;#39; in the expression rule designer and you should see it autocomplete to show a list of CDTs. When you select the CDT, it adds the namespace and name. You can also find the namespace by going to the CDT in the Appian Designer and expanding the properties section at the top.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need schema location and namespace of xsd</title><link>https://community.appian.com/thread/75845?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2020 16:30:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:6ff1c404-dd84-4c5e-9497-be2c77d016b5</guid><dc:creator>sauravk</dc:creator><description>&lt;p&gt;I just created xsd from scratch from designer itslef , earlier i was trying to upload that .&lt;/p&gt;
&lt;p&gt;Anyways do you have any idea how we get the url for any type of url like below format mentioned&lt;/p&gt;
&lt;p&gt;&amp;#39;type!{http://****.****.**.com:76532/suite/types/}TestLogDefaultRule&amp;#39;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need schema location and namespace of xsd</title><link>https://community.appian.com/thread/75838?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2020 13:12:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:08564451-0818-443a-b8c9-bb906c5b7c24</guid><dc:creator>Peter Lewis</dc:creator><description>&lt;p&gt;Are you saying that you want to refer to one CDT within another CDT (i.e. for nesting multiple CDTs together)? If so, the easiest way is to just add the nested CDT directly to your XSD - a single XSD file can refer to multiple CDTs.&lt;/p&gt;
&lt;p&gt;So you could set up your XSD something like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="xml"&gt;&amp;lt;xsd:schema xmlns:xsd=&amp;quot;http://www.w3.org/2001/XMLSchema&amp;quot; xmlns:tns=&amp;quot;urn:com:appian:types:PDL&amp;quot; targetNamespace=&amp;quot;urn:com:appian:types:PDL&amp;quot;&amp;gt;
  &amp;lt;xsd:complexType name=&amp;quot;PDL_CDT1&amp;quot;&amp;gt;
    &amp;lt;xsd:sequence&amp;gt;
      &amp;lt;xsd:element name=&amp;quot;id&amp;quot; nillable=&amp;quot;true&amp;quot; type=&amp;quot;xsd:int&amp;quot;&amp;gt;
        &amp;lt;xsd:annotation&amp;gt;
          &amp;lt;xsd:appinfo source=&amp;quot;appian.jpa&amp;quot;&amp;gt;@Id @GeneratedValue&amp;lt;/xsd:appinfo&amp;gt;
        &amp;lt;/xsd:annotation&amp;gt;
      &amp;lt;/xsd:element&amp;gt;
      &amp;lt;xsd:element name=&amp;quot;name&amp;quot; nillable=&amp;quot;true&amp;quot; type=&amp;quot;xsd:string&amp;quot;&amp;gt;
        &amp;lt;xsd:annotation&amp;gt;
          &amp;lt;xsd:appinfo source=&amp;quot;appian.jpa&amp;quot;&amp;gt;@Column(length=255)&amp;lt;/xsd:appinfo&amp;gt;
        &amp;lt;/xsd:annotation&amp;gt;
      &amp;lt;/xsd:element&amp;gt;
      &amp;lt;xsd:element maxOccurs=&amp;quot;unbounded&amp;quot; minOccurs=&amp;quot;0&amp;quot; name=&amp;quot;nested&amp;quot; type=&amp;quot;tns:PDL_CDT2&amp;quot;&amp;gt;
        &amp;lt;xsd:annotation&amp;gt;
          &amp;lt;xsd:appinfo source=&amp;quot;appian.jpa&amp;quot;&amp;gt;@OneToMany(cascade=CascadeType.ALL, indexed=false)&amp;lt;/xsd:appinfo&amp;gt;
        &amp;lt;/xsd:annotation&amp;gt;
      &amp;lt;/xsd:element&amp;gt;
    &amp;lt;/xsd:sequence&amp;gt;
  &amp;lt;/xsd:complexType&amp;gt;
  &amp;lt;xsd:complexType name=&amp;quot;PDL_CDT2&amp;quot;&amp;gt;
    &amp;lt;xsd:sequence&amp;gt;
      &amp;lt;xsd:element name=&amp;quot;id&amp;quot; nillable=&amp;quot;true&amp;quot; type=&amp;quot;xsd:int&amp;quot;&amp;gt;
        &amp;lt;xsd:annotation&amp;gt;
          &amp;lt;xsd:appinfo source=&amp;quot;appian.jpa&amp;quot;&amp;gt;@Id @GeneratedValue&amp;lt;/xsd:appinfo&amp;gt;
        &amp;lt;/xsd:annotation&amp;gt;
      &amp;lt;/xsd:element&amp;gt;
      &amp;lt;xsd:element name=&amp;quot;name&amp;quot; nillable=&amp;quot;true&amp;quot; type=&amp;quot;xsd:string&amp;quot;&amp;gt;
        &amp;lt;xsd:annotation&amp;gt;
          &amp;lt;xsd:appinfo source=&amp;quot;appian.jpa&amp;quot;&amp;gt;@Column(length=255)&amp;lt;/xsd:appinfo&amp;gt;
        &amp;lt;/xsd:annotation&amp;gt;
      &amp;lt;/xsd:element&amp;gt;
    &amp;lt;/xsd:sequence&amp;gt;
  &amp;lt;/xsd:complexType&amp;gt;
&amp;lt;/xsd:schema&amp;gt;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>