populate-design
- Last updated on December 29, 2023
- •
- Less than a minute to read
This task populates design elements with the specified values in the design model.
Parameters
itemsData
(object) - A structure in JSON format describing item names and their values for product pages, placeholders, and single design elements. For more details, refer to the Personalized rendering topic.
Argument substitution is supported following the common rules.
Example
{
"description": "Populate design",
"name": "populate-design",
"type": "populate-design",
"inputArtifacts": [
"design"
],
"parameters": {
"itemsData": {
"Name": {
"text": "{{project.items.0.fields.Name?}}"
},
"Number": {
"text": "{{project.items.0.fields.Number?}}"
}
}
},
"outputArtifacts": [
"design"
]
}