a!safeLink not working as expected

As per Appian 21.1 (https://docs.appian.com/suite/help/21.1/Web_Link_Component.html) now we should be able to open the link on same tab.

I tried testing this but the link opens in new tab regardless of the value that is set to the parameter openLinkIn

Test Code in 21.1.

a!sectionLayout(
   contents: {
       a!linkField(
              links: {
                   a!safeLink(
                   label: "Safe Link",
                   uri:"">https://appian.com/",
                   openLinkIn:"SAME_TAB"
                )
            }
        )
     }
)

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Mike Schmitt

    I was in a rush to try solution. Sorry for that. We are embedding appian site into web page (developed using angular).

    Using a!safelink to download document. We are getting authorization failed after clicking download link as it is opening in new tab. This is working as expected from long time. Only thing I see there is a version upgrade[23.4] during last weekend.  Hope I gave enough context around the problem we are facing.

Children