<?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>Need to update values in table while licking a!safelink</title><link>https://community.appian.com/discussions/f/user-interface/27025/need-to-update-values-in-table-while-licking-a-safelink</link><description>Hello All, 
 
 We are using a!safelink to navigate the user to other system. The requirement is we want to store that which user clicked on the link and when in audit table, but 
 as in the safelink there are no saveinto parameter so not able to do that</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Need to update values in table while licking a!safelink</title><link>https://community.appian.com/thread/106138?ContentTypeID=1</link><pubDate>Mon, 02 Jan 2023 13:33:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:913adf62-eac7-46af-917c-a5d5a1bbc58b</guid><dc:creator>LAKSHMIRAJA</dc:creator><description>&lt;p&gt;Hi &lt;br /&gt;&lt;br /&gt;In Safe Link we are not having value and save Into parameters &amp;amp; if we are using safe Link it will be redirected to the another/same page so mostly the data which is stored(if any) also will be redirected/refreshed, So value will not be saved with safe link. To avoid this issue, I am suggesting 2 different models of coding(Attached Below).&lt;br /&gt;&lt;br /&gt;Hope it will be helpful&lt;br /&gt;&lt;pre class="ui-code" data-mode="d"&gt;/*Model - 1*/
a!localVariables(
  local!number,
  a!columnsLayout(
    columns: {
      a!columnLayout(),
      a!columnLayout(
        contents: a!cardLayout(
          contents: a!richTextDisplayField(
            align: &amp;quot;CENTER&amp;quot;,
            value: a!richTextItem(
              text: &amp;quot;Generate Safe Link&amp;quot;,
              style: &amp;quot;STRONG&amp;quot;,
              size: &amp;quot;MEDIUM_PLUS&amp;quot;,
              color: &amp;quot;ACCENT&amp;quot;
            )
          ),
          link: a!dynamicLink(
            value: right(rand(), 1),
            saveInto: local!number
          ),
          style: &amp;quot;ACCENT&amp;quot;,
          shape: &amp;quot;ROUNDED&amp;quot;,
          showShadow: true,
          showWhen: a!isNullOrEmpty(local!number)
        ),
        width: &amp;quot;NARROW&amp;quot;
      ),
      a!columnLayout(
        contents: a!cardLayout(
          contents: a!richTextDisplayField(
            align: &amp;quot;CENTER&amp;quot;,
            value: a!richTextItem(
              text: &amp;quot;Safe Link&amp;quot;,
              style: &amp;quot;STRONG&amp;quot;,
              size: &amp;quot;MEDIUM_PLUS&amp;quot;,
              color: &amp;quot;ACCENT&amp;quot;
            )
          ),
          link: a!safeLink(uri: &amp;quot;https://www.gmail.com&amp;quot;),
          style: &amp;quot;ACCENT&amp;quot;,
          shape: &amp;quot;ROUNDED&amp;quot;,
          showShadow: true,
          showWhen: a!isNotNullOrEmpty(local!number)
        ),
        width: &amp;quot;NARROW&amp;quot;
      )
    }
  )
)&lt;/pre&gt;&lt;pre class="ui-code" data-mode="d"&gt;/*Model - 2*/
a!localVariables(
  local!number,
  a!linkField(
    links: {
      a!dynamicLink(
        label: &amp;quot;Generate Safe Link&amp;quot;,
        value: right(rand(), 1),
        saveInto: local!number,
        showWhen: a!isNullOrEmpty(local!number)
      ),
      a!safeLink(
        label: &amp;quot;Safe Link&amp;quot;,
        uri: &amp;quot;https://www.gmail.com&amp;quot;,
        showWhen: a!isNotNullOrEmpty(local!number)
      )
    }
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Need to update values in table while licking a!safelink</title><link>https://community.appian.com/thread/106089?ContentTypeID=1</link><pubDate>Fri, 30 Dec 2022 07:27:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:97cda066-d274-46b2-b5af-e9f5dbbe8689</guid><dc:creator>Basavaraju Sathvik</dc:creator><description>&lt;p&gt;I think what you can do is Create a button give it a safe link then in button use Today(), User() function in saveinto so when the button is clicked you get the user details, date and time&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>