asset.add
asset.add
Add an asset from your asset library. The editor loads it by ID; no arbitrary network access.
asset.add assetId [surfaceId]Examples
asset.add "your-asset-id" frontScripts edit only the loaded draft. They do not save, publish releases, delete assets or execute JavaScript. A successful run is one Undo step. Failed runs apply no design edits. Reference syntax is inspired by CFQL assignment/separators, not a promise to execute every legacy CFQL command.
Scripting engine 1.0.0 · This reference is generated from the implemented command catalogue.
