Skip to main content
March 31, 2015
Question

How to check if "My Token" exists?

  • March 31, 2015
  • 4 replies
  • 1364 views
I am creating a base landing-page that will be used or say cloned to all the activities folder.
Almost all activities will use same locally created "My Tokens". But sometimes some events might not have values for some of the My Tokens that I will use in the landing-page template.
Is there a way to check if the My Token exists when creating a landing-page?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

March 31, 2015
Can I use "Email Scripting" for this purpose?
Level 10
March 31, 2015
Hi Digamber,

I would rather suggest you to use velocity script to verify the value inside the token.

Let me know if have any query.

Thanks!!
March 31, 2015
Ok I will try and see if that works.
So to use the velocity i have to use "Email Script" token right?
Level 10
April 1, 2015
You can also use email scripting to fetch the token value in Java Script, and then you can the values in velocity script.