Skip to main content
Participant
May 18, 2017
Answered

Losing "$" in links with New from Template

  • May 18, 2017
  • 1 reply
  • 250 views

Hello!

I'm building templates that will use dynamic cross-reference code for the URLs. In the template file the link begins with a $ character:

<a href="${clickthrough('description')}"></a>

However, when I create a document from the template the $ sign is removed, and can't be easily added because a lot of these exist in non-editable regions (example below). Is there a way I can maintain that character in documents created from the template?

<a href="{clickthrough('description')}"></a>

This topic has been closed for replies.
Correct answer Jon Fritz

Just wondering if that made a difference.

I can't get my CC2017.1 to drop the $ from the front of the link in the format you're using in a standard .html or a .dwt Template file.

Are you using the latest version or something else?

1 reply

Jon Fritz
Community Expert
Community Expert
May 18, 2017

Out of curiosity, what happens if you replace the $ with %24

Also, what version of DW are you using?

Participant
May 18, 2017

It comes through as %24, which I don't think will integrate with the cross-reference code.

I'm using CC 2017

(This URL structure is for Responsys emails, by the way.)

Jon Fritz
Community Expert
Jon FritzCommunity ExpertCorrect answer
Community Expert
May 18, 2017

Just wondering if that made a difference.

I can't get my CC2017.1 to drop the $ from the front of the link in the format you're using in a standard .html or a .dwt Template file.

Are you using the latest version or something else?