<?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>Hi , does anyone have a real example of CDT with the association one-to-man</title><link>https://community.appian.com/discussions/f/general/164/hi-does-anyone-have-a-real-example-of-cdt-with-the-association-one-to-man</link><description>Hi , does anyone have a real example of CDT with the association one-to-many? I don&amp;#39;t know how to set correctly the generic string schema (eg. xmlns=&amp;quot;urn:appian:example:assocations:one-to-many&amp;quot; ). Thanks... OriginalPostID-34827 OriginalPostID-34827</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Hi ,&lt;br /&gt;does anyone have a real example of CDT with the association one-to-man</title><link>https://community.appian.com/thread/368?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2012 16:50:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:86799986-c630-4f5d-9baf-d241d0c73b95</guid><dc:creator>marcop519</dc:creator><description>Thank you !&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi ,&lt;br /&gt;does anyone have a real example of CDT with the association one-to-man</title><link>https://community.appian.com/thread/367?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2012 15:21:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1273c13e-8905-4600-8c2a-1b56dcb437f9</guid><dc:creator>Sanjay</dc:creator><description>Generated DDL:&lt;br /&gt;create table `company` (&lt;br /&gt;   `id` integer not null auto_increment,&lt;br /&gt;   `name` varchar(255) not null,&lt;br /&gt;   primary key (`id`)&lt;br /&gt; ) type=InnoDB;&lt;br /&gt; &lt;br /&gt; create table `officelocation` (&lt;br /&gt;   `id` integer not null auto_increment,&lt;br /&gt;   `address1` varchar(255) not null,&lt;br /&gt;   `address2` varchar(255),&lt;br /&gt;   `city` varchar(255) not null,&lt;br /&gt;   `state` varchar(255) not null,&lt;br /&gt;   `zip` integer,&lt;br /&gt;   `company_locations_id` integer,&lt;br /&gt;   `company_locations_idx` integer,&lt;br /&gt;   primary key (`id`)&lt;br /&gt; ) type=InnoDB;&lt;br /&gt;  &lt;br /&gt; alter table `officelocation` &lt;br /&gt;   add index company_locations (`company_locations_id`), &lt;br /&gt;   add constraint company_locations &lt;br /&gt;   foreign key (`company_locations_id`) &lt;br /&gt;   references `company` (`id`);&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi ,&lt;br /&gt;does anyone have a real example of CDT with the association one-to-man</title><link>https://community.appian.com/thread/366?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2012 15:20:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:51b07ed6-05df-48fd-aeac-8613c69cea4e</guid><dc:creator>Sanjay</dc:creator><description>&amp;lt;xs:complexType name=&amp;quot;OfficeLocation&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;      &amp;lt;xs:element name=&amp;quot;id&amp;quot; type=&amp;quot;xs:int&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;xs:annotation&amp;gt;&lt;br /&gt;          &amp;lt;xs:appinfo source=&amp;quot;appian.jpa&amp;quot;&amp;gt;&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;@Id&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;@GeneratedValue&lt;br /&gt;            &amp;lt;/xs:appinfo&amp;gt;&lt;br /&gt;        &amp;lt;/xs:annotation&amp;gt;&lt;br /&gt;      &amp;lt;/xs:element&amp;gt;&lt;br /&gt;      &amp;lt;xs:element name=&amp;quot;address1&amp;quot; type=&amp;quot;xs:string&amp;quot; /&amp;gt;&lt;br /&gt;      &amp;lt;xs:element name=&amp;quot;address2&amp;quot; nillable=&amp;quot;true&amp;quot; type=&amp;quot;xs:string&amp;quot; /&amp;gt;&lt;br /&gt;      &amp;lt;xs:element name=&amp;quot;city&amp;quot; type=&amp;quot;xs:string&amp;quot; /&amp;gt;&lt;br /&gt;      &amp;lt;xs:element name=&amp;quot;state&amp;quot; type=&amp;quot;xs:string&amp;quot; /&amp;gt;&lt;br /&gt;      &amp;lt;xs:element name=&amp;quot;zip&amp;quot; type=&amp;quot;xs:int&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;  &amp;lt;/xs:complexType&amp;gt;&lt;br /&gt; &amp;lt;/xs:schema&amp;gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi ,&lt;br /&gt;does anyone have a real example of CDT with the association one-to-man</title><link>https://community.appian.com/thread/365?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2012 15:20:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e364681d-7711-4adb-a535-a221cf27fea2</guid><dc:creator>Sanjay</dc:creator><description>&amp;lt;xs:complexType name=&amp;quot;Company&amp;quot;&amp;gt;&lt;br /&gt;    &amp;lt;xs:sequence&amp;gt;&lt;br /&gt;      &amp;lt;xs:element name=&amp;quot;id&amp;quot; type=&amp;quot;xs:int&amp;quot;&amp;gt;&lt;br /&gt;        &amp;lt;xs:annotation&amp;gt;&lt;br /&gt;          &amp;lt;xs:appinfo source=&amp;quot;appian.jpa&amp;quot;&amp;gt;&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;@Id&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;@GeneratedValue&lt;br /&gt;            &amp;lt;/xs:appinfo&amp;gt;&lt;br /&gt;        &amp;lt;/xs:annotation&amp;gt;&lt;br /&gt;      &amp;lt;/xs:element&amp;gt;&lt;br /&gt;      &amp;lt;xs:element name=&amp;quot;name&amp;quot; type=&amp;quot;xs:string&amp;quot; /&amp;gt;&lt;br /&gt;      &amp;lt;xs:element maxOccurs=&amp;quot;unbounded&amp;quot; name=&amp;quot;locations&amp;quot; type=&amp;quot;OfficeLocation&amp;quot; /&amp;gt;&lt;br /&gt;    &amp;lt;/xs:sequence&amp;gt;&lt;br /&gt;  &amp;lt;/xs:complexType&amp;gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi ,&lt;br /&gt;does anyone have a real example of CDT with the association one-to-man</title><link>https://community.appian.com/thread/364?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2012 15:18:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5b875199-944c-4bb1-b1a2-2c377f1da53f</guid><dc:creator>Sanjay</dc:creator><description>Pasted below relevant parts for your reference. xmlns and targetNamespace could be customized (say to your particular cloud instance)&lt;br /&gt;&amp;lt;xs:schema xmlns=&amp;quot;&lt;a href="https://yourcompany.appiancloud.com/suite/types/"&gt;yourcompany.appiancloud.com/.../&amp;quot;&lt;/a&gt; elementFormDefault=&amp;quot;qualified&amp;quot; targetNamespace=&amp;quot;&lt;a href="https://yourcompany.appiancloud.com/suite/types/"&gt;yourcompany.appiancloud.com/.../&amp;quot;&lt;/a&gt; xmlns:xs=&amp;quot;&lt;a href="http://www.w3.org/2001/XMLSchema"&gt;www.w3.org/.../XMLSchema&amp;quot;&amp;gt;&lt;/a&gt;&lt;br /&gt;XSD:&lt;br /&gt; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt;&lt;br /&gt; &amp;lt;xs:schema xmlns=&amp;quot;urn:appian:example:assocations:one-to-many&amp;quot; elementFormDefault=&amp;quot;qualified&amp;quot; targetNamespace=&amp;quot;urn:appian:example:assocations:one-to-many&amp;quot; xmlns:xs=&amp;quot;&lt;a href="http://www.w3.org/2001/XMLSchema"&gt;www.w3.org/.../XMLSchema&amp;quot;&amp;gt;&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi ,&lt;br /&gt;does anyone have a real example of CDT with the association one-to-man</title><link>https://community.appian.com/thread/363?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2012 14:54:34 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:64e1a801-ce44-43ba-b4d3-873acbab053e</guid><dc:creator>marcop519</dc:creator><description>I can&amp;#39;t access..There&amp;#39;s some form or registration to do to access at this documentation?&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Hi ,&lt;br /&gt;does anyone have a real example of CDT with the association one-to-man</title><link>https://community.appian.com/thread/362?ContentTypeID=1</link><pubDate>Tue, 12 Jun 2012 14:52:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:84c1cef2-9fca-4eb7-9eff-25849875f907</guid><dc:creator>Sanjay</dc:creator><description>Appian Documentation Wiki has good example schema defining One-to-many relationship.&lt;br /&gt;&lt;a href="https://forum.appian.com/suite/wiki/66/Defining_a_Custom_Data_Type#One-to-many"&gt;forum.appian.com/.../Defining_a_Custom_Data_Type&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>