My data is arriving via HTTP as a JSON payload, so I’m extracting it and saving it into a job variable for use by the Create Print Content step in Workflow. Prior to the content creation, the end user wants Workflow to call an API and retrieve the URL of an image. Can I pass in this value to my template’s print context (not web) using a job variable or do I need to add this value to the JSON directly?
If need be, the end user can provide the data as XML, so if the best solution is to create a datamapper to make the dynamic image information easier to pass into the template please let me know. We are still hashing out the best approach to do this.