Target Location parameter in a!recordLink()

Appian Employee

I'm trying to get a rudimentary understanding and example use case for the use of the targetLocation parameter in a!recordLink(). I've read the documentation but I still can't picture a use case. I've played with it in terms of configuration. I'm just not sure why someone would need it. Has anyone every used this parameter before? What was it used tor? 

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    [edit: the following is true for the "dashboard" parameter, my bad.  see my update below.]

    Simply put - if I have an interface where I'm linking to a particular record, but the more relevant Record View (from the current interace) is some View other than the default "summary" view for records I'm linking to, this allows me to now send users straight to that. 

    For instance if I'm on a site used by Workforce Documentation managers, and i have a grid of personnel (record type) with documentation uploaded to their personal in-Appian folders, this would let me link straight to their "/Documents" views (presuming we have a "/Documents" view set up with, let's say, a grid of all that user's files and so-forth), instead of forcing the user to click to that personnel's Summary page then manually click the "Documents" tab from there.

  • 0
    Appian Employee
    in reply to Mike Schmitt

    This is perfect, exactly what I needed. Thanks!

  • 0
    Certified Lead Developer
    in reply to Kim Day

    Actually sorry I was incorrect.  What I wrote above is in referrence to the "Dashboard" parameter (which i'm more used to).  Sorry for the misinfo.

    The TargetLocation parameter can apparently control what SITE tab the opened record link "opens" in.  This can be useful for controlling the exact record link behavior, as pertains to their location within a site (or cross-site, i believe).  Before we were basically just stuck with taking the site "location" as wherever the user happens to click the link from, which opened up some weird (and uncontrollable) corner cases.

Reply
  • 0
    Certified Lead Developer
    in reply to Kim Day

    Actually sorry I was incorrect.  What I wrote above is in referrence to the "Dashboard" parameter (which i'm more used to).  Sorry for the misinfo.

    The TargetLocation parameter can apparently control what SITE tab the opened record link "opens" in.  This can be useful for controlling the exact record link behavior, as pertains to their location within a site (or cross-site, i believe).  Before we were basically just stuck with taking the site "location" as wherever the user happens to click the link from, which opened up some weird (and uncontrollable) corner cases.

Children
No Data