<?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>dynamic link actions</title><link>https://community.appian.com/discussions/f/user-interface/26605/dynamic-link-actions</link><description>how to show a confirmation message when performing action by using dynamic link?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: dynamic link actions</title><link>https://community.appian.com/thread/104468?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 17:35:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:08d9fee2-9255-4e99-a4f3-ade3d1d3f018</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;Step 1: go to &lt;a href="/discussions/f/user-interface/14938/feature-request-add-confirmation-message-capabilities-to-a-dynamiclink"&gt;my existing feature request thread&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Step 2: click &amp;quot;like&amp;quot;, click &amp;quot;i have this question too&amp;quot;, add a comment detailing your use case in case anyone at Appian ever sees it (and adding a comment will float it back to the top of Community, which might help)&lt;/p&gt;
&lt;p&gt;Step 3: wait long enough for this to make it off their backlog.&amp;nbsp; I&amp;#39;ve been waiting 3 years so far, so....&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Note&lt;/strong&gt;&lt;/em&gt;:&amp;nbsp; I do like the workaround that @harshjan already posted above, though it&amp;#39;s a lot of manual work and juggling to make sure that sort of thing functions as desired, when (to me) there should just be built-in functionality that replicates how it works for buttons and a!submitLink().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: dynamic link actions</title><link>https://community.appian.com/thread/104440?ContentTypeID=1</link><pubDate>Fri, 18 Nov 2022 10:19:04 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:88fc87ac-3b46-47a3-a970-61fc6084fd07</guid><dc:creator>harshjan</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Raviteja, you can refer the code mentioned below.&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!showConfirmation_bool : false(),
  {
    a!cardLayout(
      showWhen: local!showConfirmation_bool,
      contents: {
        a!richTextDisplayField(
          value: {
            a!richTextItem(
              text: &amp;quot;CONFIRM&amp;quot;
            )
          }
        )
      },
      link: {
        a!dynamicLink(saveInto: {
          a!save(
            local!showConfirmation_bool, false()
          )
        })
      }
    ),
    a!cardLayout(
      link: a!dynamicLink(
        saveInto: {
          a!save(
            local!showConfirmation_bool, true()
          )
        }
      ),
      showWhen: not(
        local!showConfirmation_bool
      ),
      contents: {
        a!richTextDisplayField(
          value: {
            a!richTextItem(
              text: &amp;quot;SHOW CONFIRM Window&amp;quot;
            )
          }
        )
      }
    )
  }
)&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>