Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Email template server name with content switch

Avatar

Avatar
Validate 1
Level 5
yodadobe
Level 5

Likes

12 likes

Total Posts

298 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 5
yodadobe
Level 5

Likes

12 likes

Total Posts

298 posts

Correct Reply

10 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
yodadobe
Level 5

02-01-2009

I have a clustered server with a content switch in front of them. The emails sent by default use the specific server names rather than the name on the content switch. I have not found anything in adminui to set that. I can change the default templates to hard code the correct name. however, I am using custom templates and do not want to alter the map each time I promote to a new environment.



I was hoping the @@ notation would resolve before xpath which would allow me to use xpath string functions on it. It does not though. The next thing I tried was using the URL below which does open the correct URL. However, that results in warnings by the email client. Any idea on how to either change what @@notification-host@@ returns to the content switch name or a way of scripting the result?



href="javascript:location='https://forms'+'@@notification-host@@'.substring('@@notification-host@@'.indexOf('.'))+'/workspace/Main.html?taskId=@@taskid@@'"