<?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>selection saveinto</title><link>https://community.appian.com/discussions/f/user-interface/26121/selection-saveinto</link><description>what mistake i have done here when ever i try to select it is not selecting once i select it is deselecting again 
 
 even i have checked with this.. this also same issue</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: selection saveinto</title><link>https://community.appian.com/thread/102416?ContentTypeID=1</link><pubDate>Wed, 05 Oct 2022 04:08:48 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:df9ea2d1-2137-458d-9efe-984f079988d9</guid><dc:creator>shalini</dc:creator><description>&lt;p&gt;You can use local variable instead of using save!value&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: selection saveinto</title><link>https://community.appian.com/thread/102385?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 15:20:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b94cccbf-e43d-456f-b1e2-ee848aa00927</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;it&amp;#39;s a method useful for storing only the most recent row selection AS the selection value - used for a long time now - as far as I can tell it should work, to be honest.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: selection saveinto</title><link>https://community.appian.com/thread/102384?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 15:20:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3d93bf78-1f2f-4746-9cb5-b67ad780fb3e</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;This technique works for me.&amp;nbsp; In fact I&amp;#39;m a little surprised I never thought of using &amp;quot;reverse()&amp;quot; before, since that seems a bit more efficient than the &amp;quot;length(save!value)&amp;quot; method I used in the past.&amp;nbsp; Can you verify that your individual gridRowLayouts have valid &amp;quot;id&amp;quot; values?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;a!gridLayout(
  headerCells: {
    a!gridLayoutHeaderCell(label: &amp;quot;label&amp;quot;)
  },
  selectable: true(),
  selectionValue: ri!selection,
  selectionStyle: &amp;quot;ROW_HIGHLIGHT&amp;quot;,
  selectionSaveInto: {
    a!save(
      ri!selection,
      index(reverse(save!value), 1, null())
    )
  },
  rows: {
    a!gridRowLayout(
      id: 1,
      contents: { a!richTextDisplayField(value: &amp;quot;dummy row 1&amp;quot;) }
    ),
    a!gridRowLayout(
      id: 2,
      contents: { a!richTextDisplayField(value: &amp;quot;dummy row 2&amp;quot;) }
    )
  }
)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1664896841317v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: selection saveinto</title><link>https://community.appian.com/thread/102372?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 12:11:38 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ea9e32df-e231-4364-9b61-ca32cea06a39</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;a href="https://docs.appian.com/suite/help/22.3/recipe-limit-rows-to-one.html"&gt;docs.appian.com/.../recipe-limit-rows-to-one.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: selection saveinto</title><link>https://community.appian.com/thread/102370?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 11:46:21 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:56b5c42a-0efd-4cfd-881c-a2f15675a701</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;Grid selection works with multiple values. To limit it to one, there is no direct way and you have to manipulate the value in your code. Try the below code in your saveInto&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;saveInto: {
    local!value,
    a!save(
        local!value,
        index(local!value, length(local!value), {})
      )
    }&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: selection saveinto</title><link>https://community.appian.com/thread/102365?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 11:36:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5691b520-e3e2-4011-b1b9-b58cb9d343b9</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;What exactly you want to do it in the selection save into. like you are using lot functions reverse index etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: selection saveinto</title><link>https://community.appian.com/thread/102364?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 11:16:27 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1063af4a-37a6-4582-b704-ff67857b9cf7</guid><dc:creator>KM</dc:creator><description>&lt;p&gt;single row selection&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: selection saveinto</title><link>https://community.appian.com/thread/102363?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 11:12:10 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:596a62fe-486e-4ff2-a9bc-1c613014b6ba</guid><dc:creator>Harshit Bumb (Appyzie)</dc:creator><description>&lt;p&gt;What are you trying to achieve here? Single selection or multiple?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>