<?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>Same Section Need to be added when we click on a button just like a add row link</title><link>https://community.appian.com/discussions/f/user-interface/30632/same-section-need-to-be-added-when-we-click-on-a-button-just-like-a-add-row-link</link><description>How can I get a same section when we click on a button under the section to provide multiple details to the single ruleinput just like adding address1,address2,address3</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Same Section Need to be added when we click on a button just like a add row link</title><link>https://community.appian.com/thread/128827?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 21:27:08 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f5c6c384-085c-4aee-b02b-f19e2f5e6b69</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;You do not have to pass the value in the dynamic link in such a way. your a!save() should do the work. or in the a!save() where you append, you can use the below code. (Also check if your rule input is configured as an array value)&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;For the value and Savinto of the input fields you can write in the below format (Please replace the fields accordingly)

value:fv!item[&amp;#39;recordType!{541a338c-895a-48c6-99f0-86f4df394eba}.relationships.{d078e013-86e1-46ec-87b2-13a756c12db6}.fields.{6ed73606-0b20-46c2-81ee-882bfef03302}&amp;#39;],
              saveInto: fv!item[&amp;#39;recordType!{541a338c-895a-48c6-99f0-86f4df394eba}.relationships.{d078e013-86e1-46ec-87b2-13a756c12db6}.fields.{6ed73606-0b20-46c2-81ee-882bfef03302}&amp;#39;]

for the saveinto of Dynamic link

a!save(
              ri!record[&amp;#39;recordType!{541a338c-895a-48c6-99f0-86f4df394eba}.relationships.{d078e013-86e1-46ec-87b2-13a756c12db6}&amp;#39;],
              append(
                ri!record[&amp;#39;recordType!{541a338c-895a-48c6-99f0-86f4df394eba}.relationships.{d078e013-86e1-46ec-87b2-13a756c12db6}&amp;#39;],
                &amp;#39;recordType!{541a338c-895a-48c6-99f0-86f4df394eba}.relationships.{d078e013-86e1-46ec-87b2-13a756c12db6}&amp;#39;(
                  &amp;#39;recordType!{541a338c-895a-48c6-99f0-86f4df394eba}.relationships.{d078e013-86e1-46ec-87b2-13a756c12db6}.fields.{b318d07d-7814-49d9-96a8-9c825541b276}&amp;#39;: null,
                  &amp;#39;recordType!{541a338c-895a-48c6-99f0-86f4df394eba}.relationships.{d078e013-86e1-46ec-87b2-13a756c12db6}.fields.{92da6e9f-839e-45cf-927e-ae547e04acb4}&amp;#39;: null,
                  &amp;#39;recordType!{541a338c-895a-48c6-99f0-86f4df394eba}.relationships.{d078e013-86e1-46ec-87b2-13a756c12db6}.fields.{1ba0c9fc-4766-4554-978e-c78972a4a091}&amp;#39;: null,
                  &amp;#39;recordType!{541a338c-895a-48c6-99f0-86f4df394eba}.relationships.{d078e013-86e1-46ec-87b2-13a756c12db6}.fields.{6ed73606-0b20-46c2-81ee-882bfef03302}&amp;#39;: null
                )
              )
            )&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Same Section Need to be added when we click on a button just like a add row link</title><link>https://community.appian.com/thread/128824?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 18:31:59 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a40cf071-05e5-4624-8813-84e4ca9b783f</guid><dc:creator>richarde5889</dc:creator><description>&lt;p&gt;a&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Same Section Need to be added when we click on a button just like a add row link</title><link>https://community.appian.com/thread/128823?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 18:30:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:c956161a-dda4-4f83-8ddd-a69088bba366</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a href="/members/richarde5889"&gt;richarde5889&lt;/a&gt;&amp;nbsp;&amp;nbsp;Could you please share the code?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;img style="max-height:305px;max-width:206px;" alt=" " height="305" src="/resized-image/__size/412x610/__key/communityserver-discussions-components-files/13/pastedimage1706899473312v1.png" width="206" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Same Section Need to be added when we click on a button just like a add row link</title><link>https://community.appian.com/thread/128822?ContentTypeID=1</link><pubDate>Fri, 02 Feb 2024 18:14:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:35f047eb-bdae-4a38-947d-2974439a12d9</guid><dc:creator>richarde5889</dc:creator><description>&lt;p&gt;Whenever i create a second or third section, the value of my first one is moving over and then appneding and overwriting all other sections. how do i fix this&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Same Section Need to be added when we click on a button just like a add row link</title><link>https://community.appian.com/thread/122344?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 09:30:19 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:249137ee-3504-419f-b7e7-494b53230bb8</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Hello &lt;a class="internal-link view-user-profile" href="/members/sandhyas0002"&gt;SandhyaSalmeda&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Could you please check the below interface and confirm if this is what you are looking for.&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1701164148171v1.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;If yes try to use the below expression and edit accordingly&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
  a!forEach(
    items: ri!arrayValue,
    expression: {
      a!sectionLayout(
        label: &amp;quot;My Section &amp;quot; &amp;amp; fv!index,
        contents: {
          a!richTextDisplayField(
            align: &amp;quot;RIGHT&amp;quot;,
            value: {
              a!richTextIcon(
                icon: &amp;quot;times-circle&amp;quot;,
                color: &amp;quot;NEGATIVE&amp;quot;,
                link: a!dynamicLink(
                  saveInto: a!save(
                    ri!arrayValue,
                    remove(ri!arrayValue, fv!index)
                  )
                ),
                linkStyle: &amp;quot;STANDALONE&amp;quot;
              )
            }
          ),
          a!textField(label: &amp;quot;Text Field&amp;quot;),
          a!dropdownField(placeholder: &amp;quot;--- Select ---&amp;quot;),
          a!dateField(label: &amp;quot;Select Date&amp;quot;)
        }
      )
    }
  ),
  a!richTextDisplayField(
    value: {
      a!richTextItem(
        text: &amp;quot;+ Add New Section&amp;quot;,
        link: a!dynamicLink(
          value: null,
          /*Your value here*/
          saveInto: a!save(
            ri!arrayValue,
            append(
              ri!arrayValue,
              null/*your value here*/
              
            )
          )
        ),
        linkStyle: &amp;quot;STANDALONE&amp;quot;
      )
    }
  )
}&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Same Section Need to be added when we click on a button just like a add row link</title><link>https://community.appian.com/thread/122338?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 09:20:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4ea54102-3eeb-4e78-a587-1dff478e9d50</guid><dc:creator>SandhyaSalmeda</dc:creator><description>&lt;p&gt;complete section&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Same Section Need to be added when we click on a button just like a add row link</title><link>https://community.appian.com/thread/122250?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2023 07:36:01 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a67a5b65-4481-4944-9886-614cfa3e5c7b</guid><dc:creator>Konduru Chaitanya</dc:creator><description>&lt;p&gt;Hello&amp;nbsp;&lt;a class="internal-link view-user-profile" href="/members/sandhyas0002"&gt;SandhyaSalmeda&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;Is this resolved? If not could you please elaborate what o you mean by section. Is it a section that you want or field?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Same Section Need to be added when we click on a button just like a add row link</title><link>https://community.appian.com/thread/121765?ContentTypeID=1</link><pubDate>Thu, 16 Nov 2023 07:54:14 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:17e71ecb-fba1-482a-aac0-0730499a9f71</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I assume you have a list of records. Then you use a foreach to display each item in that list. Just append another item to the list and it will show up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>