Hi,
I'm currently trying to swap out multiple smart objects within one document. Does anyone know if this is possible or would I have to send multiple api posts?
I've got my script working with just one smart object but can't work out if I can do multiple edits.
This is my current script and how i'd imagine it working with two smart object swaps. I don't get any error codes but I don't get an output image. Thanks in advance.
{
"inputs": [
{
"href": "{{steps.Get_Master_PDF_Doc.$return_value[0].link}}",
"storage": "dropbox"
}
],
"options": {
"layers": [
{
"edit": {},
"input": {
"href": "{{steps.Gather_Front_File.$return_value.link}}",
"storage": "dropbox"
},
"smartObject": {
"name": ".1"
},
"name": ".1",
"type": "smartObject"
},
{
"edit": {},
"input": {
"href": "{{steps.Gather_Left_File.$return_value.link}}",
"storage": "dropbox"
},
"smartObject": {
"name": ".2"
},
"name": ".2",
"type": "smartObject"
}
]
},
"outputs": [
{
"storage": "dropbox",
"href": "{{steps.Create_Upload_Link.$return_value.psdUploadLink.link}}",
"type": "image/vnd.adobe.photoshop"
}
]
}