Hi All,
We have a record type used to show some applications in different sites specific to a application level user type (e.g. Internal, External and Others). As part of one process we would need to send an email to all type of users with a record link in the email body.
And the requirement is, when a user clicks on the record link in email, it should navigate to a record dashboard in a particular site. Any thoughts on how to generate a generic record link for all sites?
Discussion posts and replies are publicly visible
You should be able to get record link Using the site web address & page address identifier, construct an expression which should return URL In below format.
https://customer.appiancloud.com/suite/sites/Web Address Identifier/page/web Address Identifier
if you wanted to get the link of record dashboard then below function would be helpful
"https://customer.appiancloud.com"&"/" & if(
ri!recordType_record = cons!RECORD_CLIENT_DETAILS,
"suite/sites/WebAddressIdentifier/page/webAddressIdentifier/record/",
"suite/sites/WebAddressIdentifier/page/webAddressIdentifier/record/"
) & a!recordLink(
recordType: ri!recordType_record,
identifier: ri!recordIdentifier_txt
).@attributes.@anyAttribute._recordRef & "/view/" &"summary"
Where
ri!recordType_record- Record Type (Based on record type you can customize site URL,)
ri!recordIdentifier_txt - Text
More details about my requirement...Assume that there is a record A, Site A (User1) and Site B (User2). An email is sent, To User1 and CC to User2 and contains a link to record A. When User1 or User2 clicks on the record link in the email, it should navigate to a user specific site's page with record A (assumed both users are already logged in).