<?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>Add new row using dynamic link in editable grid</title><link>https://community.appian.com/discussions/f/general/12947/add-new-row-using-dynamic-link-in-editable-grid</link><description>Requirement : we need to add a new row functionality in a editable grid which has only one column structure . 
 Inputs : one Rule input of type text .( No cdt) 
 A editable grid with only one column of type text 
 Error : if I click add row using dynamic</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Add new row using dynamic link in editable grid</title><link>https://community.appian.com/thread/58222?ContentTypeID=1</link><pubDate>Mon, 23 Jul 2018 06:34:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f37bb5cf-3eba-46d8-9d3c-8a7d77e4de56</guid><dc:creator>shwetad7106</dc:creator><description>&lt;p&gt;Hi vetrivelk ,&lt;/p&gt;
&lt;p&gt;you can refer following link,&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/18.2/recipe_add_edit_and_remove_data_in_an_inline_editable_grid.html"&gt;https://docs.appian.com/suite/help/18.2/recipe_add_edit_and_remove_data_in_an_inline_editable_grid.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add new row using dynamic link in editable grid</title><link>https://community.appian.com/thread/58199?ContentTypeID=1</link><pubDate>Sat, 21 Jul 2018 14:38:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:155ff15e-5263-42ad-bc55-71726fa033f3</guid><dc:creator>chandu</dc:creator><description>Hi Vetrivel,&lt;br /&gt;
&lt;br /&gt;
Please find the below code snippet. I took the rule input as Input of type text and multiple. you are getting the error because of you are appending the existing value at the end of the list try to append a blank value.&lt;br /&gt;
&lt;br /&gt;
a!gridLayout(&lt;br /&gt;
  label:&amp;quot;Demo&amp;quot;,&lt;br /&gt;
  headerCells:{a!gridLayoutHeaderCell(label:&amp;quot;Name&amp;quot;)},&lt;br /&gt;
  columnConfigs: a!gridLayoutColumnConfig(width:&amp;quot;DISTRIBUTE&amp;quot;),&lt;br /&gt;
  rows:{&lt;br /&gt;
    a!forEach(&lt;br /&gt;
        items:ri!input,&lt;br /&gt;
        expression: {&lt;br /&gt;
          a!gridRowLayout(&lt;br /&gt;
            contents:{&lt;br /&gt;
                a!textField(&lt;br /&gt;
                  label:&amp;quot;&amp;quot;&amp;amp;fv!item,&lt;br /&gt;
                  value:fv!item,&lt;br /&gt;
                  saveInto:{&lt;br /&gt;
                    fv!item&lt;br /&gt;
                    }&lt;br /&gt;
                )    &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 New&amp;quot;,&lt;br /&gt;
    value:{&lt;br /&gt;
      ri!input&lt;br /&gt;
    },&lt;br /&gt;
    saveInto:{&lt;br /&gt;
      a!save(&lt;br /&gt;
        ri!input,append(ri!input,&amp;quot;&amp;quot;)&lt;br /&gt;
      )&lt;br /&gt;
    }&lt;br /&gt;
  )&lt;br /&gt;
  &lt;br /&gt;
)&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add new row using dynamic link in editable grid</title><link>https://community.appian.com/thread/58196?ContentTypeID=1</link><pubDate>Sat, 21 Jul 2018 08:02:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:473473b0-fd5a-420f-a0af-6ec0436770da</guid><dc:creator>ravalik</dc:creator><description>Hi Vetri,&lt;br /&gt;
&lt;br /&gt;
It will be more helpful if you could share your code snippet , following link might be helpful in your use case,&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/18.2/recipe_add_edit_and_remove_data_in_an_inline_editable_grid.html"&gt;docs.appian.com/.../recipe_add_edit_and_remove_data_in_an_inline_editable_grid.html&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
ravalik&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add new row using dynamic link in editable grid</title><link>https://community.appian.com/thread/58186?ContentTypeID=1</link><pubDate>Fri, 20 Jul 2018 12:59:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:51795b0c-8fd7-4e97-9a20-8b2d19d0efa4</guid><dc:creator>sravanis918</dc:creator><description>Hi,&lt;br /&gt;
&lt;br /&gt;
Can you please share your code snippet?&lt;br /&gt;
Even the below link will helpful for the requirement:&lt;br /&gt;
&lt;a href="https://docs.appian.com/suite/help/18.2/recipe_add_edit_and_remove_data_in_an_inline_editable_grid.html"&gt;docs.appian.com/.../recipe_add_edit_and_remove_data_in_an_inline_editable_grid.html&lt;/a&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Add new row using dynamic link in editable grid</title><link>https://community.appian.com/thread/58185?ContentTypeID=1</link><pubDate>Fri, 20 Jul 2018 12:50:17 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d74b130e-23be-4c56-8a14-096821820d04</guid><dc:creator>Kiranmayi N</dc:creator><description>Hi Vetri,&lt;br /&gt;
&lt;br /&gt;
This problem may be due to improper saving of row data in the grid.&lt;br /&gt;
&lt;br /&gt;
Please refer this SAIL recipe : &lt;a href="https://docs.appian.com/suite/help/18.1/recipe_add_edit_and_remove_data_in_an_inline_editable_grid.html"&gt;docs.appian.com/.../recipe_add_edit_and_remove_data_in_an_inline_editable_grid.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Hope this will help you.&lt;br /&gt;
&lt;br /&gt;
Thanks,&lt;br /&gt;
Kiranmayi&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>