atomicData-driven graphics
photoshop_import_datasets
Import a Photoshop variables/data-sets XML file into the active document (the same file Image > Variables > Data Sets > Import accepts). Users often say: load data sets, import variables XML, data-driven graphics. Use when: the template PSD already has variable-bound layers and you want to load rows from an XML file. Do NOT use when: generating a batch from a CSV directly — use photoshop_recipe_csv_to_cards. Returns: JSON { ok, summary, details: { count, datasets } }. Preconditions: active document with variables defined (Image > Variables > Define).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| xml_path | string | yes | Absolute path to the variables/data-sets XML file |
Community recipes
Nothing here yet. Be the first to share one.
Share a recipe