Change Custom Object Retrieval Limits in Velocity Scripting change-custom-object-retrieval-limits-in-velocity-scripting
If you use Velocity Script to display Custom Object data in emails, this feature might be for you. By default, you’re allowed access to 10 parent custom objects from Velocity Script. If you need to access more, read on.
What is Velocity what-is-velocity
Apache Velocity is a language built on Java designed for templating and scripting HTML content. Marketo allows it to be used in the context of Emails through the use of scripting tokens. Among other things, this gives access to data stored in custom objects.
You can reference parent and child custom objects that are directly connected to the Lead, or Contact, but not third-level custom objects. For each custom object, the 10 most recently updated records per person/contact are available at runtime and are ordered from most recently updated (at 0) to oldest updated (at 9).
How to Change the Limit how-to-change-the-limit
-
Go to the Admin section.
-
Click Email.
-
In the Custom Object Retrieval Limits table, enter a new Parent Retrieval Limit and click Save Changes.
Nice! You can now can access more custom objects from Velocity script.