Skip to main content
raghavendram0001
New Participant
May 5, 2021
Question

Original URL is not changing with respect to Environment

  • May 5, 2021
  • 4 replies
  • 1 view

Hi,

I am using the rule APN_getSiteUrl, to get the environment specified URL.  But when user places cursor on the link that received in the mail, is showing original url as DEV instead of TEST.  

Can any one help on this?

In Dev:

In TEST:

But in email : 

4 replies

stefanhelzle0001
Brainy
May 5, 2021

How do you create the text in the email? Via a HTML template? How does the template HTML look like?

raghavendram0001
New Participant
May 5, 2021

Hi Stefan,

I just used Text Mode only in Send Email smart service. and added the above ER (TP_getregionAndSiteUrl) in an expression.

stefanhelzle0001
Brainy
May 5, 2021

OK, and the code to generate the HTML link looks like ...?

robert.shankin
Participating Frequently
May 7, 2021

Alternatively, if the goal is to retrieve the site URL - have you considered using an environment specific constant?
docs.appian.com/.../Application_Deployment_Guidelines.html