2018.1

Table Of Contents
Multiple APIs (methods of communicating with PReS Workflow scripting tools) are available
through the scripting engine, in all languages.
l The Watch object is used to communicate with your current process and configuration.
See "The Watch Object" on page137.
l The PReS Connect REST API consists of many services that expose access to a number
of areas including Workflow, data entity management and file store operations. See the
Connect REST API Cookbook.
l You can manipulate PDF files using the PReS Alambic API. See AlambicEdit Library
Reference. Note that the PReS Alambic API is part of the PDF Tools.
l You can manipulate the metadata in your process using the Metadata API. See Metadata
API Reference.
l You can communicate with a SOAP server using the SOAP API. See "SOAP Server API
Reference" on page130.
l You can communicate with the PlanetPress Capture Database using the Capture API.
See Capture API Reference.
l You can communicate the with the Data Repository using the Data Repository API. See:
"Data Repository API" on page152.
The Script Editor and XSLT Editor
How can I edit scripts and XSLT code?
Scripts can be edited in the Script Editor and the XSLT Editor. Both editors are visually
identical and share almost exactly the same commands. They let you import and export scripts,
perform common editing function, such as search and replace, and feature syntax highlighting
and formatting.
You can use the Script Editor to edit scripts written in VBScript, JavaScript, Perl and Python
(note that the corresponding interpreter must be locally available). You can use the XSLT Editor
to edit scripts written in XSLT 1.0 and 2.0.
For information on how to use both editors, or for a complete description of the Script or XSLT
Editor user options, refer to the Reference Help (English only).
Page 124