Skip to main content
December 2, 2021
Question

urlforrecord is linking to tempo instead of site.

  • December 2, 2021
  • 2 replies
  • 0 views

Hi,

I have used "urlforrecord" in the email template to provide a link/url to the users. But, then email has been generated and clicked on the url, it is trying to open the record in "tempo" instead of "site"

=urlforrecord(cons!AT_EMPLOYEERECORDTYPE,pv!employee2.employeeId)

How can I provide link to the "site" instead of "tempo".

Thanks

2 replies

danny.verb
December 2, 2021

You need to do some string substitution yourself

substitute(
urlforrecord(cons!CASE_RECORD_TYPE, {ri!recordId}),
"tempo/records/{recordIdentifier}",
"sites/{site-name}/page/{page-name}/record"
)

December 2, 2021

Great. Thank you so much for your quick reply.