Record links in emails

Certified Associate Developer

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

Parents
  • 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

Reply
  • 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

Children
No Data