Set up a project
...
Structure of Dynamic resources
experience.config

Variables in messages

2min

Scenario

You want to add an extra variable to recipe-infos-time via the variables field in views.json in your Purple Experience.

Messages.json
Messages.json

1

Add a new placeholder in the messages.json, RECIPE_INFOS_TIME): %s is a placeholder.

2

Adding a new entry to the "variables" in your views.json and passing in the data you want it to replace the %s with. In this case, that would be something like $functions.formatTimeString($context.content.properties.whatever_the_time_is)

views.json
views.json