Hi there,
One question here
I have a URL need to be insert into email body. This URL will be different between DEV site and PROD site. I am trying to define a constant for this URL. but dont know how to insert it into email body, as "insert web link" does not accept constant. tried use using safelink in "Insert an expression". not good.
Could anyone let me know how to do it?
regards,
Lin
Discussion posts and replies are publicly visible
You will try like below code. I make a dynamic link in my application. I used here record type link. You can change as like your choice. I hope it will help you
a!localVariables( local!recordRef: tostring( a!recordLink( recordType: 'recordType!{2807e918-8a87-4696-913f-2cec0198b9bc}KBS OrderInCart', identifier: ri!journeyId, ).@attributes.@anyAttribute._recordRef ), local!recordLink: concat( cons!KBS_CART_REMINDER_LINK, local!recordRef, "/view/summary" ), local!recordLink )