<?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>Unable to add row dynamically .</title><link>https://community.appian.com/discussions/f/user-interface/38134/unable-to-add-row-dynamically</link><description>Hi , 
 I have a nested cdt . When i try to add a row dynamically to the grid i am unable to do it . I want it to be save in this format ,--- Details : ABC , CDF Department : depatment type: CSE , createdby : loggedin user, date:now(). 
 
 And here ri</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Unable to add row dynamically .</title><link>https://community.appian.com/thread/143530?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2024 13:50:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:85928000-16e4-4c73-be18-5027ac162ec7</guid><dc:creator>vyshnavig0001</dc:creator><description>&lt;p&gt;Thank&amp;nbsp; you for your reply . I already tried this way but i guess as I am using nested CDT so when i try to add other employee, its not working. Like i am unable to add the other row .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;addRowlink: a!dynamicLink(&lt;/span&gt;&lt;br /&gt;&lt;span&gt;label: &amp;quot;Add Employee&amp;quot;,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;value: ri!docu,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;saveInto: {&lt;/span&gt;&lt;br /&gt;&lt;span&gt;a!save(local!employeesDoc, append(local!employeesDoc, save!value))&lt;/span&gt;&lt;br /&gt;&lt;span&gt;}&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;So i used rule input called that particular cdt , and then used it here . I am able to add a row but i am unable to get it&amp;nbsp; to store in the correct format i wanted.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The format i want to store is:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Eg - Details: USER 1&lt;br /&gt; folder:{&lt;br /&gt; department:&amp;nbsp; CSE&amp;nbsp;&lt;br /&gt; createdby:loggedInUser(),&lt;br /&gt; dateCreated:now()&lt;br /&gt; },&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If i have multiple it should be stored in:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; Details: USER 1 , USER 2 , USER 3&amp;nbsp;&lt;br /&gt; folder:{&lt;br /&gt; department:CSE&amp;nbsp;&lt;br /&gt; createdby:loggedInUser(),&lt;br /&gt; dateCreated:now()&lt;br /&gt; },&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to add row dynamically .</title><link>https://community.appian.com/thread/143529?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2024 13:08:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ff7ae111-4c1b-485d-9ed4-f7b8adfd5ec5</guid><dc:creator>Soma</dc:creator><description>&lt;p&gt;The problem here is you have configure the rows to have only one gridrowlayout. If you want multiple rows then you must iterate it through a list. Please refer the code snippet below.&lt;pre class="ui-code" data-mode="text"&gt;rows: a!forEach(
          items: local!employeesDoc,
          expression: a!gridRowLayout(
            contents: {
              a!fileUploadField(),
              /* For the Department Column*/
              a!dropdownField(),
              /* For the Phone Number Column*/
              a!textField()
            }
          )
        ),
        addRowlink: a!dynamicLink(
          label: &amp;quot;Add Employee&amp;quot;,
          saveInto: {
            a!save(
              local!employeesDoc,
              append(
                local!employeesDoc,
                &amp;#39;type!{urn:com:appian:types:AA}AA_Vehicaledata&amp;#39;(details: null)
              )
            )
          }
        )&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to add row dynamically .</title><link>https://community.appian.com/thread/143528?ContentTypeID=1</link><pubDate>Tue, 10 Dec 2024 12:20:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:575d7de3-c326-42e3-828d-b18288a8abab</guid><dc:creator>Prasanta Paul</dc:creator><description>&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/24.4/recipe-add-edit-and-remove-data-in-an-inline-editable-grid.html"&gt;Add, Edit, and Remove Data in an Inline Editable Grid - Appian 24.4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;please go through once.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>