<?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>Editable grid add row dynamic link</title><link>https://community.appian.com/discussions/f/user-interface/11365/editable-grid-add-row-dynamic-link</link><description>Hi, 
 I am using the add row in the dynamic link of editable grid, I have given the showWhen parameter for dynamic link. It was throwing an error (“addRowLink” must be a dynamic link. Received List of Variant). In the showWhen condition I am usng a load</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Editable grid add row dynamic link</title><link>https://community.appian.com/thread/49973?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 11:14:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:cee29071-5ba0-43b3-9e36-cfd2e67f9a30</guid><dc:creator>santoshd378</dc:creator><description>Thanks ankit.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Editable grid add row dynamic link</title><link>https://community.appian.com/thread/49972?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 11:10:23 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b5af5034-2df3-4d81-9577-1ef9b3f802e2</guid><dc:creator>ankita0004</dc:creator><description>You can not use show when in this case because addrowlink does not accept this.&lt;br /&gt;
Instead use this&lt;br /&gt;
&lt;br /&gt;
addRowlink: &lt;br /&gt;
          if(count(local!var)&amp;lt;4,&lt;br /&gt;
          a!dynamicLink&lt;br /&gt;
          (&lt;br /&gt;
            label: &amp;quot;Add Department&amp;quot;,&lt;br /&gt;
            value: &amp;quot;&amp;quot;,&lt;br /&gt;
            &lt;br /&gt;
            saveInto: &lt;br /&gt;
            {            &lt;br /&gt;
              a!save&lt;br /&gt;
              (&lt;br /&gt;
                local!Ass2DepartmentData,append(local!Ass2DepartmentData,save!value)&lt;br /&gt;
              )&lt;br /&gt;
            }&lt;br /&gt;
          ),null)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will work fine&lt;br /&gt;
&lt;br /&gt;
Thanks&lt;br /&gt;
Ankit&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>