<?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 can i Insert a row between two rows of cdt ?</title><link>https://community.appian.com/discussions/f/general/21891/how-can-i-insert-a-row-between-two-rows-of-cdt</link><description>I have a table as follow: 
 sno department 
 1 CS 
 2 ME 
 3 EI 
 I want the output after inserting a row between sno 1 and 2 as 
 
 sno department 
 1 CS 
 2 IT 
 3 ME 
 4 EI 
 How can i do that?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How can i Insert a row between two rows of cdt ?</title><link>https://community.appian.com/thread/85787?ContentTypeID=1</link><pubDate>Wed, 15 Sep 2021 15:08:00 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7f15c135-f407-41ca-9933-07b4ba2710ce</guid><dc:creator>ashutoshg0001</dc:creator><description>&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i Insert a row between two rows of cdt ?</title><link>https://community.appian.com/thread/85776?ContentTypeID=1</link><pubDate>Wed, 15 Sep 2021 14:10:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:792315dd-bd38-4422-96cc-a9d3931f5201</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;nice solution. I like it!&lt;br /&gt;A Note for unexperienced designers: Please consider your target here. Display in table, storing in database afterwards, data manipulations afterwards...this all can effect if this solution is suitable for your specific cause.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i Insert a row between two rows of cdt ?</title><link>https://community.appian.com/thread/85774?ContentTypeID=1</link><pubDate>Wed, 15 Sep 2021 13:26:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0d8bf3c4-5e36-4c5c-b0fb-d004bdc65be1</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!values: {
    {sno: 1, department: &amp;quot;CS&amp;quot;},
    {sno: 2, department: &amp;quot;ME&amp;quot;},
    {sno: 3, department: &amp;quot;EI&amp;quot;}
  },
  a!forEach(
    items: insert(
      local!values,
      {sno: 42, department: &amp;quot;IT&amp;quot;},
      2
    ),
    expression: a!update(
      data: fv!item,
      index: &amp;quot;sno&amp;quot;,
      value: fv!index
    )
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i Insert a row between two rows of cdt ?</title><link>https://community.appian.com/thread/85772?ContentTypeID=1</link><pubDate>Wed, 15 Sep 2021 13:21:49 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:8402b81c-fb52-4237-8857-7efeb5fad0f0</guid><dc:creator>ashutoshg0001</dc:creator><description>&lt;p&gt;yes&amp;nbsp;&lt;/p&gt;
&lt;p&gt;in cdt i want to apply this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can i Insert a row between two rows of cdt ?</title><link>https://community.appian.com/thread/85771?ContentTypeID=1</link><pubDate>Wed, 15 Sep 2021 13:18:54 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4dbd1198-bb10-4896-800a-fe931b346349</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;Is this a database table? Do you need the renumbering?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>