Skip to main content

populate-design

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.@.fields.Name?}}"
},
"Number": {
"text": "{{project.items.@.fields.Number?}}"
}
}
},
"outputArtifacts": [
"design"
]
}
Was this page helpful?