How to check if "My Token" exists?

Anonymous
Not applicable

How to check if "My Token" exists?

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?
Tags (1)
4 REPLIES 4
Anonymous
Not applicable

Re: How to check if "My Token" exists?

Can I use "Email Scripting" for this purpose?
Alok_Ramsisaria
Level 10

Re: How to check if "My Token" exists?

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!!
Anonymous
Not applicable

Re: How to check if "My Token" exists?

Ok I will try and see if that works.
So to use the velocity i have to use "Email Script" token right?
Alok_Ramsisaria
Level 10

Re: How to check if "My Token" exists?

You can also use email scripting to fetch the token value in Java Script, and then you can the values in velocity script.