<?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 inserted data in CDT from editable grid</title><link>https://community.appian.com/discussions/f/new-to-appian/24356/how-to-inserted-data-in-cdt-from-editable-grid</link><description>Hii everyone 
 how to inserted data in CDT from editable grid?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: how to inserted data in CDT from editable grid</title><link>https://community.appian.com/thread/94043?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 17:10:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3ce9070d-8495-42d4-bb4d-28be8d953102</guid><dc:creator>Mike Schmitt</dc:creator><description>[quote userid="111610" url="~/discussions/f/new-to-appian/24356/how-to-inserted-data-in-cdt-from-editable-grid/93971#93971"]a!buttonWidget(&lt;br /&gt; label: &amp;quot;Submit&amp;quot;,&lt;br /&gt; submit: true&lt;br /&gt; )[/quote]
&lt;p&gt;saveInto: {&lt;br /&gt;&amp;nbsp; a!save(ri!employeeList, local!employees)&lt;br /&gt;}&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to inserted data in CDT from editable grid</title><link>https://community.appian.com/thread/93985?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2022 00:48:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:100a2104-a53a-4622-a45f-964726db9e64</guid><dc:creator>Arul</dc:creator><description>&lt;p&gt;Hi Jo,&lt;/p&gt;
&lt;p&gt;a!textField(&lt;br /&gt; label: &amp;quot;Text&amp;quot;,&lt;br /&gt; labelPosition: &amp;quot;ABOVE&amp;quot;,&lt;/p&gt;
&lt;p&gt;value: ri!firstname&lt;br /&gt; saveInto: {ri!firstname},&lt;br /&gt; refreshAfter: &amp;quot;UNFOCUS&amp;quot;,&lt;br /&gt; validations: {}&lt;br /&gt; )&lt;/p&gt;
&lt;p&gt;When you save the first name in saveInto parameter then&amp;nbsp;that will save in the rule input(CDT). If you are using multiple rows with multiple&amp;nbsp;value then you have to enable an array check box in the rule input of the particular CDT.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to inserted data in CDT from editable grid</title><link>https://community.appian.com/thread/93974?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 18:17:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a97a57d6-d8f6-40d1-92bd-504b6f97aa31</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;In short, the interface fields would be configured to save into your data elements (in a Rule Input typically); then when the form is submitted, the data is passed back into the Process, where you will need to have configured a Write to Data Store node pointing at the Data Store for the proper table, and taking the data (via its PV) in as an input.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d highly suggest you complete the online learning resources if you&amp;#39;re not familar with these steps, as this is a standard use case for Appian applications and is also just slightly too much for us to walk you through, here, from scratch.&lt;/p&gt;
&lt;p&gt;If on the other hand you&amp;#39;re just missing a piece then we&amp;#39;re happy to help, but in general it&amp;#39;s best to start off by telling us as much information as you can so we know where to start.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to inserted data in CDT from editable grid</title><link>https://community.appian.com/thread/93973?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 18:09:53 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2b7e335c-1938-42b1-a8e5-29a0c21b90d3</guid><dc:creator>jojog0002</dc:creator><description>&lt;p&gt;if i enter a new data then how to save that data in my table?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to inserted data in CDT from editable grid</title><link>https://community.appian.com/thread/93971?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 18:04:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:60ae9738-8dc1-405e-a454-c40a75a059b3</guid><dc:creator>jojog0002</dc:creator><description>&lt;p&gt;I want to enter new data using grid then how to save that data in my table(CDT).&lt;/p&gt;
&lt;p&gt;editable grid code given below:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;a!localVariables(&lt;br /&gt; local!employees: rule!ED_GetEmployeeData(),&lt;br /&gt; a!formLayout(&lt;br /&gt; label: &amp;quot;Employee Details: Add,Update, or Remove Employee Data&amp;quot;,&lt;br /&gt; contents: {&lt;br /&gt; a!gridLayout(&lt;br /&gt; totalCount: count(local!employees),&lt;br /&gt; headerCells: {&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;First Name&amp;quot; ),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Last Name&amp;quot; ),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Email&amp;quot; ),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;ContactNumber&amp;quot; ),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Designation&amp;quot; ),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Department&amp;quot; ),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Address&amp;quot; ),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;City&amp;quot; ),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;State&amp;quot; ),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Country&amp;quot; ),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Gender&amp;quot; ),&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;Date of joining&amp;quot; ),&lt;br /&gt; /* For the &amp;quot;Remove&amp;quot; column */&lt;br /&gt; a!gridLayoutHeaderCell(label: &amp;quot;&amp;quot; )&lt;br /&gt; },&lt;br /&gt; /* Only needed when some columns need to be narrow */&lt;br /&gt; columnConfigs: {&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight:3 ),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight:3 ),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight:3 ),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight:3 ),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight:3 ),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight:3 ),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight:3 ),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight:3 ),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight:3 ),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight:3 ),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight:3 ),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;DISTRIBUTE&amp;quot;, weight:2 ),&lt;br /&gt; a!gridLayoutColumnConfig(width: &amp;quot;ICON&amp;quot;)&lt;br /&gt; },&lt;br /&gt; /*&lt;br /&gt; * a!forEach() will take local!employee data and used that data to loop through an&lt;br /&gt; * expression that creates each row.&lt;br /&gt; *&lt;br /&gt; * When modifying the recipe to work with your data, you only need to change:&lt;br /&gt; * 1.) the number of fields in each row&lt;br /&gt; * 2.) the types of fields for each column (i.e. a!textField() for text data elements)&lt;br /&gt; * 3.) the fv!item elements. For example fv!item.firstName would change to fv!item.yourdata&lt;br /&gt; */&lt;br /&gt; rows: a!forEach(&lt;br /&gt; items: local!employees,&lt;br /&gt; expression: a!gridRowLayout(&lt;br /&gt; id: fv!index,&lt;br /&gt; contents: {&lt;br /&gt; /* For the First Name Column*/&lt;br /&gt; a!textField(&lt;br /&gt; /* Labels are not visible in grid cells but are necessary to meet accessibility requirements */&lt;br /&gt; label: &amp;quot;First Name &amp;quot; &amp;amp; fv!index,&lt;br /&gt; value: fv!item.FirstName,&lt;br /&gt; saveInto: fv!item.FirstName,&lt;br /&gt; required: true&lt;br /&gt; ),&lt;br /&gt; /* For the Last Name Column*/&lt;br /&gt; a!textField(&lt;br /&gt; label: &amp;quot;last name &amp;quot; &amp;amp; fv!index,&lt;br /&gt; value: fv!item.lastName,&lt;br /&gt; saveInto: fv!item.lastName,&lt;br /&gt; required:true&lt;br /&gt; ),&lt;br /&gt; /* For the Email Column*/&lt;br /&gt; a!textField(&lt;br /&gt; label: &amp;quot;Email &amp;quot; &amp;amp; fv!index,&lt;br /&gt; value: fv!item.Email,&lt;br /&gt; saveInto: fv!item.Email,&lt;br /&gt; required:true&lt;br /&gt; ),&lt;br /&gt; /* For the Contact Number Column*/&lt;br /&gt; a!textField(&lt;br /&gt; label: &amp;quot;ContactNumber &amp;quot; &amp;amp; fv!index,&lt;br /&gt; value: fv!item.ContactNumber,&lt;br /&gt; saveInto: fv!item.ContactNumber,&lt;br /&gt; required:true&lt;br /&gt; ),&lt;br /&gt; /* For the Designation Column*/&lt;br /&gt; a!dropdownField(&lt;br /&gt; label: &amp;quot;Designation &amp;quot; &amp;amp; fv!index,&lt;br /&gt; placeholder: &amp;quot;-- Select -- &amp;quot;,&lt;br /&gt; choiceLabels:{&amp;quot;Software Engineer&amp;quot;,&amp;quot;Support Engineer&amp;quot;,&amp;quot;Tester&amp;quot;,&amp;quot;Marking Specialist&amp;quot;,&amp;quot;Web Developer&amp;quot;,&amp;quot;.Net Developer&amp;quot;,&amp;quot;Graphic Designer&amp;quot;},&lt;br /&gt; choiceValues:{&amp;quot;Software Engineer&amp;quot;,&amp;quot;Support Engineer&amp;quot;,&amp;quot;Tester&amp;quot;,&amp;quot;Marking Specialist&amp;quot;,&amp;quot;Web Developer&amp;quot;,&amp;quot;.Net Developer&amp;quot;,&amp;quot;Graphic Designer&amp;quot;},&lt;br /&gt; value: fv!item.Designation,&lt;br /&gt; saveInto: fv!item.Designation,&lt;br /&gt; required:true&lt;br /&gt; ),&lt;br /&gt; /* For the Department Column*/&lt;br /&gt; a!dropdownField(&lt;br /&gt; label: &amp;quot;department &amp;quot; &amp;amp; fv!index,&lt;br /&gt; placeholder: &amp;quot;-- Select -- &amp;quot;,&lt;br /&gt; choiceLabels: { &amp;quot;Corporate&amp;quot;, &amp;quot;Engineering&amp;quot;, &amp;quot;Finance&amp;quot;, &amp;quot;Human Resources&amp;quot;, &amp;quot;Professional Services&amp;quot;, &amp;quot;Sales&amp;quot; },&lt;br /&gt; choiceValues: { &amp;quot;Corporate&amp;quot;, &amp;quot;Engineering&amp;quot;, &amp;quot;Finance&amp;quot;, &amp;quot;Human Resources&amp;quot;, &amp;quot;Professional Services&amp;quot;, &amp;quot;Sales&amp;quot; },&lt;br /&gt; value: fv!item.department,&lt;br /&gt; saveInto: fv!item.department,&lt;br /&gt; required:true&lt;br /&gt; ),&lt;br /&gt; /* For the Address Column*/&lt;br /&gt; a!textField(&lt;br /&gt; label: &amp;quot;Address &amp;quot; &amp;amp; fv!index,&lt;br /&gt; value: fv!item.Address,&lt;br /&gt; saveInto: fv!item.Address,&lt;br /&gt; required:true&lt;br /&gt; ),&lt;br /&gt; /* For the City Column*/&lt;br /&gt; a!dropdownField(&lt;br /&gt; label: &amp;quot;City &amp;quot; &amp;amp; fv!index,&lt;br /&gt; placeholder: &amp;quot;-- Select City-- &amp;quot;,&lt;br /&gt; choiceLabels: {&amp;quot;Delhi&amp;quot;,&amp;quot;Assam&amp;quot;,&amp;quot;Bihar&amp;quot;,&amp;quot;Arunachal Pradesh&amp;quot;,&amp;quot;Gujarat&amp;quot;, &amp;quot;Uttar Pradesh&amp;quot;},&lt;br /&gt; choiceValues:{&amp;quot;Delhi&amp;quot;,&amp;quot;Assam&amp;quot;,&amp;quot;Bihar&amp;quot;,&amp;quot;Arunachal Pradesh&amp;quot;,&amp;quot;Gujarat&amp;quot;, &amp;quot;Uttar Pradesh&amp;quot;},&lt;br /&gt; value: fv!item.City,&lt;br /&gt; saveInto: fv!item.City,&lt;br /&gt; required:true&lt;br /&gt; ),&lt;br /&gt; /* For the State Column*/&lt;br /&gt; a!dropdownField(&lt;br /&gt; label: &amp;quot;State &amp;quot; &amp;amp; fv!index,&lt;br /&gt; placeholder: &amp;quot;-- Select State-- &amp;quot;,&lt;br /&gt; choiceLabels: {&amp;quot;Delhi&amp;quot;,&amp;quot;New Delhi&amp;quot;,&amp;quot;Bettiah&amp;quot;,&amp;quot;Jamalpur&amp;quot;,&amp;quot;Ahmadabad&amp;quot;,&amp;quot;Agra&amp;quot;,&amp;quot;Aligarh&amp;quot;},&lt;br /&gt; choiceValues: {&amp;quot;Delhi&amp;quot;,&amp;quot;New Delhi&amp;quot;,&amp;quot;Bettiah&amp;quot;,&amp;quot;Jamalpur&amp;quot;,&amp;quot;Ahmadabad&amp;quot;,&amp;quot;Agra&amp;quot;,&amp;quot;Aligarh&amp;quot;},&lt;br /&gt; value: fv!item.State,&lt;br /&gt; saveInto: fv!item.State,&lt;br /&gt; required:true&lt;br /&gt; ),&lt;br /&gt; /* For the Country Column*/&lt;br /&gt; a!dropdownField(&lt;br /&gt; label: &amp;quot;Country &amp;quot; &amp;amp; fv!index,&lt;br /&gt; placeholder: &amp;quot;-- Select Country-- &amp;quot;,&lt;br /&gt; choiceLabels:{&amp;quot;India&amp;quot;,&amp;quot;Russia&amp;quot;,&amp;quot;USA&amp;quot;,&amp;quot;Germany&amp;quot;,&amp;quot;Austriala&amp;quot;},&lt;br /&gt; choiceValues:{&amp;quot;India&amp;quot;,&amp;quot;Russia&amp;quot;,&amp;quot;USA&amp;quot;,&amp;quot;Germany&amp;quot;,&amp;quot;Austriala&amp;quot;},&lt;br /&gt; value: fv!item.Country,&lt;br /&gt; saveInto: fv!item.Country,&lt;br /&gt; required:true&lt;br /&gt; ),&lt;br /&gt; /* For the Gender Column*/&lt;br /&gt; a!textField(&lt;br /&gt; label: &amp;quot;Gender&amp;quot; &amp;amp; fv!index,&lt;br /&gt; &lt;br /&gt; value: fv!item.Gender ,&lt;br /&gt; saveInto: fv!item.Gender &lt;br /&gt; ),&lt;br /&gt; /* For the Hire Date Column*/&lt;br /&gt; a!dateField(&lt;br /&gt; label: &amp;quot;Date of Joining &amp;quot; &amp;amp; fv!index,&lt;br /&gt; value: fv!item.Hire_Date,&lt;br /&gt; saveInto: fv!item.Hire_Date,&lt;br /&gt; required:true,&lt;br /&gt; align: &amp;quot;RIGHT&amp;quot;&lt;br /&gt; ),&lt;br /&gt; /* For the Removal Column*/&lt;br /&gt; a!richTextDisplayField(&lt;br /&gt; value: a!richTextIcon(&lt;br /&gt; icon: &amp;quot;trash-o&amp;quot;,&lt;br /&gt; altText: &amp;quot;delete &amp;quot; &amp;amp; fv!index,&lt;br /&gt; caption: &amp;quot;Remove &amp;quot; &amp;amp; fv!item.firstName &amp;amp; &amp;quot; &amp;quot; &amp;amp; fv!item.lastName,&lt;br /&gt; link: a!dynamicLink(&lt;br /&gt; value: fv!index,&lt;br /&gt; saveInto: {&lt;br /&gt; a!save(local!employees, remove(local!employees, save!value))&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; linkStyle: &amp;quot;STANDALONE&amp;quot;,&lt;br /&gt; color: &amp;quot;NEGATIVE&amp;quot;&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; }&lt;br /&gt; )&lt;br /&gt; ),&lt;br /&gt; addRowlink: a!dynamicLink(&lt;br /&gt; label: &amp;quot;Add Employee&amp;quot;,&lt;br /&gt; /*&lt;br /&gt; * For your use case, set the value to a blank instance of your CDT using&lt;br /&gt; * the type constructor, e.g. type!Employee(). Only specify the field&lt;br /&gt; * if you want to give it a default value e.g. startDate: today()+1.&lt;br /&gt; */&lt;br /&gt; value: {&lt;br /&gt; startDate: today() + 1&lt;br /&gt; },&lt;br /&gt; saveInto: {&lt;br /&gt; a!save(local!employees, append(local!employees, save!value))&lt;br /&gt; }&lt;br /&gt; ),&lt;br /&gt; rowHeader: 1&lt;br /&gt; )&lt;br /&gt; },&lt;br /&gt; buttons: a!buttonLayout(&lt;br /&gt; primaryButtons: a!buttonWidget(&lt;br /&gt; label: &amp;quot;Submit&amp;quot;,&lt;br /&gt; submit: true&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt; )&lt;br /&gt;)&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to inserted data in CDT from editable grid</title><link>https://community.appian.com/thread/93970?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 17:46:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:69ca2f80-1a56-40f6-aa87-38cd40b3375f</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;And in what way, specifically, is it not working?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to inserted data in CDT from editable grid</title><link>https://community.appian.com/thread/93967?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 17:40:22 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:2a951b64-ca5d-41ba-a80d-3ec612f60a97</guid><dc:creator>Naresh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please refer to Appian documentation&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/22.1/recipe-add-edit-and-remove-data-in-an-inline-editable-grid.html"&gt;https://docs.appian.com/suite/help/22.1/recipe-add-edit-and-remove-data-in-an-inline-editable-grid.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It will provide details how you can configure editable grids and map to your CDTS etc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to inserted data in CDT from editable grid</title><link>https://community.appian.com/thread/93966?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 17:11:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0f1f4d5e-568f-4fd3-8fab-be78afc874db</guid><dc:creator>jojog0002</dc:creator><description>&lt;pre class="tw-data-text tw-text-large tw-ta" id="tw-target-text" dir="ltr"&gt;&lt;span class="Y2IQFc" lang="en"&gt;I have created an editable grid with some fields(firstname ,lastname,address,email) I want the data to be entered through the grid in my table.&lt;br /&gt;&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/62/pastedimage1650560892765v1.png" alt=" " /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to inserted data in CDT from editable grid</title><link>https://community.appian.com/thread/93965?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2022 16:59:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a2e2e5cb-0173-4c05-a170-39871c9c475b</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You haven&amp;#39;t provided much useful detail here - like, for instance, what you&amp;#39;re trying to accomplish, or what (if anything) you&amp;#39;ve already tried.&amp;nbsp; Can you please elaborate?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>