Skip to main content
Level 3
Jul 3, 2025 1:07 AM UTC
Solved

Lookup list in Marketo

Hi,

I am looking for an option in Marketo where I can keep list of lookup fields and use these look up fields to render in the email template

for example: <urlkey,urlValue> . Would like to get urlValue based on urlKey and render in the email.

Please suggest if any other alternatives.

 

Thanks,

Babu

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
SanfordWhiteman
SanfordWhitemanAccepted solution
User Group Leader
Jul 3, 2025 1:26 AM UTC

Easy. Set up an object (LinkedHashMap, technically) in a Velocity token.

#set( $myStuff = { "key": "value", "key2": "value2" })

 

Then get values from it in other Velocity tokens.

${myStuff.get("key2")}

3 replies

SanfordWhiteman
User Group Leader
SanfordWhitemanUser Group LeaderAccepted solution
User Group Leader
Jul 3, 2025 1:26 AM UTC

Easy. Set up an object (LinkedHashMap, technically) in a Velocity token.

#set( $myStuff = { "key": "value", "key2": "value2" })

 

Then get values from it in other Velocity tokens.

${myStuff.get("key2")}
Translate
Level 3
Jul 3, 2025 4:28 AM UTC

Thank you Sanford, it worked very well.

 

Thanks,

Babu

Translate
Level 3
Jul 3, 2025 5:28 AM UTC

Hi Sanford,

Is there any of your blogs available for border understanding on lookup concept in Marketo.

 

Thanks,

Babu

 

Translate