<?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>#Unabable to update values in SIte level</title><link>https://community.appian.com/discussions/f/new-to-appian/38807/unabable-to-update-values-in-site-level</link><description>Hello all, I am currently working on an interface that includes an editable grid. Although the backend processes the percentage field modifications correctly, the site displays incorrect values, particularly in some other rows.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: #Unabable to update values in SIte level</title><link>https://community.appian.com/thread/146728?ContentTypeID=1</link><pubDate>Sat, 29 Mar 2025 15:39:33 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5dc51d53-c8e6-4cc9-b905-8155d5d4d1d6</guid><dc:creator>Mathieu Drouin</dc:creator><description>&lt;p&gt;I&amp;#39;d the problem lies in the way you are doing the update with the indexes. Here&amp;#39;s an example of what I think you are trying to achieve.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!records: {
    a!map(percentage: 1),
    a!map(percentage: 1),
    a!map(percentage: 1)
  },
  local!indexesToUpdate,
  local!caseSubmit,
  {
    a!gridLayout(
      headerCells: { a!gridLayoutHeaderCell(label: &amp;quot;%&amp;quot;) },
      rows: a!forEach(
        items: local!records,
        expression: a!gridRowLayout(
          contents: {
            a!textField(
              value: fv!item.percentage,
              saveInto: {
                fv!item.percentage,
                a!save(
                  local!indexesToUpdate,
                  append(local!indexesToUpdate, fv!index)
                )
              }
            )
          }
        )
      )
    ),
    a!buttonArrayLayout(
      buttons: a!buttonWidget(
        label: &amp;quot;Submit&amp;quot;,
        saveInto: {
          a!save(
            local!caseSubmit,
            a!localVariables(
              local!casesToUpdate: index(
                local!records,
                local!indexesToUpdate,
                null
              ),
              a!update(
                local!casesToUpdate,
                { &amp;quot;createdOn&amp;quot;, &amp;quot;createdBy&amp;quot; },
                { now(), loggedInUser() }
              )
            )
          ),
          a!save(local!indexesToUpdate, null)
        }
      )
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: #Unabable to update values in SIte level</title><link>https://community.appian.com/thread/146726?ContentTypeID=1</link><pubDate>Sat, 29 Mar 2025 08:03:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f2e4363e-cf9d-44b5-a6e0-eeb85dd71809</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;What exactly does this mean?&lt;/p&gt;
[quote userid="304483" url="~/discussions/f/new-to-appian/38807/unabable-to-update-values-in-site-level"]Although the backend processes the percentage field modifications correctly[/quote]
&lt;p&gt;And what does this mean?&lt;/p&gt;
[quote userid="304483" url="~/discussions/f/new-to-appian/38807/unabable-to-update-values-in-site-level"]the site displays incorrect values, particularly in some other rows[/quote]
&lt;p&gt;When looking at this code, it seems like you update that ri!record multiple times. I don&amp;#39;t think this is intentional.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/62/pastedimage1743235336725v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: #Unabable to update values in SIte level</title><link>https://community.appian.com/thread/146725?ContentTypeID=1</link><pubDate>Sat, 29 Mar 2025 07:36:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b16baa88-9bcf-4c3b-a545-69b7213f6e85</guid><dc:creator>David Jimenez </dc:creator><description>&lt;p&gt;Could you explain the problem&amp;nbsp; a little bit please?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>