How should I change a design to get an instant update?

Altering the design that is currently in use takes a while to update. To change the design instantly, create a new design, select it in the activity, and save the recommendation.

How can I capture key information for display in the design? Example: If we want to display the key product’s category, how would I code that value in the velocity design?

The $key. *value* parameter captures most of the key product’s information to display within the design. For example, if you want to display the key product’s thumbnail, use $key.thumbnailURL.

Which version of Velocity is used?

Version 1.7 with no additional tools or libraries added in. Basic Velocity functionality is available.

How do I replace an existing entity value with a blank? For example, an item’s entity.message needs to be cleared when a promotion ends.

Sending in a JavaScript non-breaking space seems to do this. Have the developers send in \u00A0 as the value. Example: entity.message=\u00A0. You might consider having that be the default value when no value is present instead of a null.

Can I use a profile script in a Recommendations design?

Yes. To use a profile script in a Recommendations design, wrap the name in \${...}. For example, if your profile script is named user.basket, refer it as \${user.basket} in the design. Note that the backslash implies that the profile script is not rendered by Velocity. Therefore, you cannot perform any operations on the profile script in a Velocity template. The value will be directly printed on the page.

Target


Adobe Target Maturity Webinar Series

Adobe Customer Success Webinars

Tuesday, Feb 4, 4:00 PM UTC

Adobe Target innovations, including GenAI, and best practices on AI-powered personalization and experimentation at scale.

Register