Skip to main content
December 19, 2023
Solved

How to move to different site page?

  • December 19, 2023
  • 3 replies
  • 0 views

Hi All,

I have 2 site pages A and B. There is a link on page A and on click of the link the contents in site page B should be displayed. Can anyone please help me how to achieve this?

    Best answer by niranjanreddym9323

    Hi [mention:9e801b4ea7ba47db8735359b555491e6:e9ed411860ed4f2ba0265705b8793d05] ,

    if you are using Appian version 23.4 then you can directly use a!urlForSite function within the a!safelink to redirect to stie pages. Or you can construct the url for site page using "https://your domain/suite/sites/your site name/page/page name" and use it in safe link.

    a!safeLink(
              uri: a!urlForSite(
                sitePage: 'site!{f876ef5c-fb6d-413c-9575-99d8e53eb869}site.pages.B'
              ),
              openLinkIn: "SAME_TAB"
            )

    3 replies

    niranjanreddym9323
    December 19, 2023

    you can create a report object which uses an interface(B) you create and then on your site interface(A) use a!reportLink which will navigate the user to the report you created without leaving the tab.

    https://docs.appian.com/suite/help/23.4/Report_Link_Component.html

    December 19, 2023

    Hi  niranjanreddym9323,

    I need to navigate to site page B from site page A on click of the link.

    niranjanreddym9323
    December 19, 2023

    Hi [mention:9e801b4ea7ba47db8735359b555491e6:e9ed411860ed4f2ba0265705b8793d05] ,

    if you are using Appian version 23.4 then you can directly use a!urlForSite function within the a!safelink to redirect to stie pages. Or you can construct the url for site page using "https://your domain/suite/sites/your site name/page/page name" and use it in safe link.

    a!safeLink(
              uri: a!urlForSite(
                sitePage: 'site!{f876ef5c-fb6d-413c-9575-99d8e53eb869}site.pages.B'
              ),
              openLinkIn: "SAME_TAB"
            )