Using variable with Insert Image script step
I'm working on a script that will automatically compile a catalog for print that integrates multiple layouts into the final product.
The way I've best figured out how to do this is to export all the pages as PDFs and then to re-import them into another table where I can resize and resort them as needed. I'm exporting the PDFs using a variable as part of the file name.
After I export, I want to be able to go to the layout where I'm compiling the images, create a new record, and dynamically set the name of the file to be imported using the Insert Image step. I can't figure out how to make this work, it simply looks for the file name as I've typed it into the script step (varaible name and all).