<?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>Creating a CDT and interface bypassing JSON</title><link>https://community.appian.com/discussions/f/user-interface/21460/creating-a-cdt-and-interface-bypassing-json</link><description>Hi All 
 I want to create a CDT and an interface by passing JSON script 
 Or even if I can pass json and create an input field in interface 
 eg.[{&amp;quot;fieldname&amp;quot; : &amp;quot;name&amp;quot;, &amp;quot;datatype&amp;quot;: &amp;quot;varchar&amp;quot;}] 
 this should create an input for name and datatype varchar</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Creating a CDT and interface bypassing JSON</title><link>https://community.appian.com/thread/85251?ContentTypeID=1</link><pubDate>Tue, 31 Aug 2021 13:01:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bbcda502-f048-4bbf-bf1f-8a04964db7b9</guid><dc:creator>jeanalainb0001</dc:creator><description>&lt;p&gt;Me to. It is usefull for example to create CDT that can be used with an integration (Rest API)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a CDT and interface bypassing JSON</title><link>https://community.appian.com/thread/83873?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 17:19:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:44831da4-06cb-42e5-850f-f48768940791</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I really would be interested in that use case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a CDT and interface bypassing JSON</title><link>https://community.appian.com/thread/83853?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 14:23:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d9c0971b-4c0e-4a41-b386-7caae65cc16b</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;I don&amp;#39;t think Appian has built that yet.&amp;nbsp; The CDT creation runs on XSD, which is XML format, under the hood.&amp;nbsp; Or a WSDL, which is also XML format.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s possible that Appian could&amp;nbsp;invent CDT from JSON&amp;nbsp;as a new method of CDT creation.&amp;nbsp; It might be a little difficult to ensure that Primary Key and Foreign key and other constraints were met, but possible.&lt;/p&gt;
&lt;p&gt;So unfortunately your choices are create WSDL based on JSON and import, or create CDT manually in Appian based on JSON, at least for now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a CDT and interface bypassing JSON</title><link>https://community.appian.com/thread/83850?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 14:18:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:faec4296-d0b4-4a14-b2a7-49b2795bfb10</guid><dc:creator>priyankadubey</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks for your response&lt;/p&gt;
&lt;p&gt;I am having&amp;nbsp; json script through which i want to create an interface as a UI and display input fields such as textbox, integerfields based on values passed in json u can say it is a dynamic&amp;nbsp;form creaion but with JSON&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a CDT and interface bypassing JSON</title><link>https://community.appian.com/thread/83849?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 14:15:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c362be77-e66e-4bfc-ba30-3a56d600250b</guid><dc:creator>priyankadubey</dc:creator><description>&lt;p&gt;thanks for your response&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a CDT and interface bypassing JSON</title><link>https://community.appian.com/thread/83848?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 14:13:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b269aa63-05ca-4c9a-b87d-0d1d2085a0c5</guid><dc:creator>davel001150</dc:creator><description>&lt;p&gt;Check out&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/21.2/fnc_system_a_fromjson.html"&gt;https://docs.appian.com/suite/help/21.2/fnc_system_a_fromjson.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/21.2/fnc_system_a_tojson.html"&gt;https://docs.appian.com/suite/help/21.2/fnc_system_a_tojson.html&lt;/a&gt;&amp;nbsp;to see if these answer your question.&lt;/p&gt;
&lt;p&gt;In short, you can convert from Appian to JSON and back, but it won&amp;#39;t be a CDT immediately.&amp;nbsp; If the CDT structure already exists in Appian (you built the structure yourself), then you can cast the Dictionary output by the fromJSON() function into an INSTANCE of that CDT.&amp;nbsp; So your users will be able to convert JSONs into your CDT automatically.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can run it once and use that as a template for the construction of your Data Type (which would be like blueprints for all future CDTs of that type).&amp;nbsp; Once you have a Data Type you can have Appian automatically create an interface based on it.&amp;nbsp; You&amp;#39;ll probably want to tweak it a little.&amp;nbsp; Then your code could receive JSONs and display the values&amp;nbsp;in the interface immediately.&amp;nbsp; Your users could even finish the form and send JSONs back out to whatever service you&amp;#39;re using.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a CDT and interface bypassing JSON</title><link>https://community.appian.com/thread/83811?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 08:26:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:909c9d5a-bf5d-421e-a05b-55c675fa6ec4</guid><dc:creator>gayathris876948</dc:creator><description>&lt;p&gt;I assume you want to create dynamic ui. Below links might be useful!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="/discussions/f/user-interface/17788/dynamically-render-ui-components-text-date-and-paragraphfield-from-database-table"&gt;https://community.appian.com/discussions/f/user-interface/17788/dynamically-render-ui-components-text-date-and-paragraphfield-from-database-table&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;&lt;a href="/discussions/f/user-interface/18241/designing-dynamic-forms"&gt;https://community.appian.com/discussions/f/user-interface/18241/designing-dynamic-forms&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;h&lt;/span&gt;&lt;span style="font-family:inherit;"&gt;ttps://community.appian.com/discussions/f/user-interface/10883/array-looping-function-for-dynamic-layout&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Creating a CDT and interface bypassing JSON</title><link>https://community.appian.com/thread/83810?ContentTypeID=1</link><pubDate>Tue, 20 Jul 2021 08:15:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:926d7695-0c91-40e8-b6ab-38da731438e9</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What is the purpose?&lt;/p&gt;
&lt;p&gt;Creating a CDT is a manual process and an interface can be created based on a CDT in the interface designer.&lt;/p&gt;
&lt;p&gt;In general, try to follow the trainings in academy and tutorials in documentation to understand how to implement things in Appian.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/21.2/Tutorials.html"&gt;docs.appian.com/.../Tutorials.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>