Back to Website
Show / Hide Table of Contents

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.@.fields.Name?}}"
            },
            "Number": {
                "text": "{{project.items.@.fields.Number?}}"
            }
        }
    },
    "outputArtifacts": [
        "design"
    ]
}
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2024 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback