Removing tempo, Sites urlforrecord directs to Tempo

We are going to stop using tempo and have users work within sites.  Some of our sites use record lists.  When you are working a record you will get a conrimfarion screen with a link to the record list.  We generate this with urlforrecord.  However, this always uses the tempo URL and not the site.  How do we direct to the site URL for the record?

I know we can construct the site URL from components of base, /site/, site-name, page-name, but is there no function that would give us a site specific URL?

Would be great if a!recordLink allowed for a null identifier which takes you to the record list.  Also, would be awesome if there was another input for site where you could pass a site constant (which does not exist currently) and it would use that as the base context for display.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    I agree, and it would also be nice if urlforrecord() provided functionality to manually set whether the URL generated would be tempo or for a site (and perhaps also needed, which site).

    For now I think you should be safe manually constructing the URL as others have mentioned previously - for future-proofing, I would generate specialized expression rules to handle this, as opposed to hardcoding it on your forms, because in the future if either A) the site URL format is updated slightly, or B) official functionality becomes available, then all you would need to do then is update your expression rule(s).

    Also note that I believe Appian's official response to this will be "but just use Record Links...", which works but is not acceptable in every scenario (i.e. inter-record links, links to records from tasks, etc).

  • I don't understand "but just use Record Links...".  This goes to a record not a record list.

Reply Children