<?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>how to set up dynamiclink when switching between interfaces</title><link>https://community.appian.com/discussions/f/administration/35329/how-to-set-up-dynamiclink-when-switching-between-interfaces</link><description>Please tell me how to set up dynamiclink when switching between interfaces.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: how to set up dynamiclink when switching between interfaces</title><link>https://community.appian.com/thread/137413?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2024 00:12:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d20e3921-5032-44c6-91c1-24ecd7c5d3e6</guid><dc:creator>sansanw5661</dc:creator><description>&lt;p&gt;Thank you everyone for your advice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set up dynamiclink when switching between interfaces</title><link>https://community.appian.com/thread/137270?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 11:31:32 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b14011a9-c203-470e-8428-f0542247d84e</guid><dc:creator>shoaib.akhtar</dc:creator><description>&lt;p&gt;I am not sure about your use case but try using the following snippet.&lt;/p&gt;
&lt;p&gt;Here I have taken choose() and declared identifying interfaces via numbers.&lt;/p&gt;
&lt;p&gt;Depending on your use you can either use this or use if else.&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!showInterface:1,
  a!sectionLayout(
    label: &amp;quot;INTERFACE 1&amp;quot;,
    contents: {
      a!sideBySideLayout(
        items: {
          a!sideBySideItem(
            item: a!richTextDisplayField(
              value: a!richTextItem(
                text: &amp;quot;Redirect to interface 1&amp;quot;,
                link: a!dynamicLink(value: 1, saveInto: local!showInterface)
              )
            )
          ),
          a!sideBySideItem(
            item: a!richTextDisplayField(
              value: a!richTextItem(
                text: &amp;quot;Redirect to interface 2&amp;quot;,
                link: a!dynamicLink(value: 2, saveInto: local!showInterface)
              )
            )
          )
        }
      ),
      choose(
        local!showInterface,
        rule!EMS_TEST_INTERFACE_1(),
        rule!EMS_TEST_INTERFACE_2()
      )
    }
  )
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set up dynamiclink when switching between interfaces</title><link>https://community.appian.com/thread/137267?ContentTypeID=1</link><pubDate>Wed, 26 Jun 2024 11:17:50 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:592c819a-317e-4efb-80fc-e062388c3f10</guid><dc:creator>Sri Ram Kaja</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/sansanw5661"&gt;sansanw5661&lt;/a&gt;&amp;nbsp;, Below code might be helpful&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!test:true,
  {
    a!richTextDisplayField(
      value: {
        a!richTextItem(
          text: &amp;quot;change text&amp;quot;,
          link: a!dynamicLink(
            value: not(local!test),
            saveInto: local!test
          ),
          linkStyle: &amp;quot;STANDALONE&amp;quot;
        )
      }
    ),
    a!richTextDisplayField(
      value: &amp;quot;true&amp;quot;,
      showWhen: local!test
    ),
    a!richTextDisplayField(
      value: &amp;quot;false&amp;quot;,
      showWhen: not(local!test)
    )
  }
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>