Can we use Option Variable in personalisation block | Community
Skip to main content
Visakha
Level 2
May 13, 2019
Solved

Can we use Option Variable in personalisation block

  • May 13, 2019
  • 1 reply
  • 2478 views

Hi team,

I want to use the generalised URL in few of the templates.

For that i have created one option variable and have given the URL Link in the option variable.

Now in personalisation block i want to use that link and through <a href > i have included Option variable.

But while deploying template i am unable to see that as a link. Below is the snippet

<a href="<%= include option='URL_Link' %>" style="text-decoration: none; color: #0096db; font-family:Arial,sans-serif;" xt="SPCLICK" name="Start_Now" target="_blank">

Start Now  &rsaquo;

</a>

Here "URL_Link" is the name of Option variable whose value contain one URL.

Please help me with this.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Jean-Serge_Biro

Hi Visakha,

The syntax is:
<%@ include option='NmsServer_URL' %>

and you put a = sign instead of @

Regards
J-Serge

1 reply

Jean-Serge_Biro
Jean-Serge_BiroAccepted solution
Level 10
May 13, 2019

Hi Visakha,

The syntax is:
<%@ include option='NmsServer_URL' %>

and you put a = sign instead of @

Regards
J-Serge

August 24, 2020
Can this option value be assigned to or used to whitelist only specific domains for tracking