Skip to main content
Level 2
Mar 1, 2024 4:02 PM UTC
Question

Question on field update

Hi All,

 

I am planning to create a new field in Marketo that I want to use as a magic link token (which is used in unsubscribe URLs).

My idea is to have this field prepopulate based on another field.

 

New field = Token + Parameters (the parameters will only get populated when the token exists). I want the new field to only populate when the token field is not blank. That way I can use one unsubscribe URL for tokenized users and untokenized users.

 

For example: Untokenized URL/New field: If the new field is not populated, users will use the generic unsubscribe URL. If the new field is populated, it will be changed to the tokenized URL.

 

I initially thought of using a formula field, but it seems like Smart Campaign doesn't support it. I want to check if there is a way that I can replicate the same using string fields to replace formula fields.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

SanfordWhiteman
User Group Leader
User Group Leader
Mar 2, 2024 3:06 PM UTC

Sounds like you should be using a Velocity token, but your requirements are too vague at this point.

 

Please give concrete examples of inputs/cases and the corresponding outputs. Then we can help you with the code.

Translate
Darshil_Shah1
Adobe Champion, Community Advisor, UG Leader
Adobe Champion, Community Advisor, UG Leader
Mar 4, 2024 12:54 PM UTC

I second Sandy! You sound a lot like you probably need velocity scripting- if A, then something, else something B. It’d certainly help if you share a couple of proper examples of the scenarios. 

Translate