VertiGIS Studio Workflow's Run Print is a useful tool that enables workflow creators to make calls to print templates. This, in conjunction with a Display Form and some business logic, means you have much more control over the user's printing experience. This article provides a high level guide on how to utilize these features.
Attached are three example files— a Workflow and two print templates —that demonstrate this process in action. To view these files, you will need to use the File > Import menu in Workflow and Printing designers. The print templates are included purely for context; they are essentially the same as default print templates with no extra configuration.
Within that Workflow, we have a few activities:
- Setup, for configuring some variables
- Print Tool, which is a Display Form, for our form
- a Switch to handle form print/cancel logic
- a Run Command to popup the print output in a new tab
This is what it looks like in action:
Step-by-step for trying it out
- Open Workflow Designer, import the workflow via the File > Import menu.
- Once imported, In the upper right of Designer, click "Run in Sandbox"
- The Sandbox opens, click 'run Workflow'
- Interact with your form, hit run print.
- Receive print output!
Notes
- The next steps might be to implement this in your VSW application by Adding your workflow to your app.
- This example makes use of Studio Printing templates and not the newer Studio Printing layouts that are sourced from ArcGIS Pro via the Studio Printing Engine.
Comments
3 comments
Thanks for providing this!
In the sample workflow, in the Setup container, there is a Create Value activity called “Set Workflow URL”. It points to the following url: https://latitudegeo.maps.arcgis.com/home/item.html?id=16cfba074fcc42858fe4164826d75fca. However, this leads to a deleted item, and I'm not sure what exactly this is supposed to be… is this the URL for the print workflow itself?
Can this example be updated to use the new Vertigis Studio print engine?
Hey Jesse Langdon thanks for catching that - that was an unnecessary item, I will update the workflow items to remove that.
Mike Diss-Torrance great idea, yes that is something we could do. I will add this to our to-do list.
Please sign in to leave a comment.