Below is a brief dispatch 'script' to read the card variable "Project Number". In the variables section, you can change this to be any variable you want. Be sure to include which configuration you want to read from or it won't return a value.
Summary of dispatch:
- For all documents - Loop to run on each document in the selection
- Get file - Gets the latest version of the file currently being run against
- OK MessageBox - Display the information about the file
- End for all documents - Exit the loop
In the variables button - Use the variable "Var" to temporarily store the variable "Project Number" from the selected file's data card
See images below (since I am unable to attach the dispatch export):
Thanks Tim. That will get me started.
Good deal. Post back on how it goes.
For some reason, PDF files and dispatch causes problems so beware of that caveat. I have experienced various issues in various versions of EPDM between dispatch & PDF files where dispatch throws an error just trying to write to the PDF data card.
Also, PDF files don't support configurations so if you need to read the card variables on a PDF, do not include a configuration value. If you do include a configuration, no value will be returned.
Just thought I would share that in case you get into PDF files.