2022.1

Table Of Contents
Saving input as sample data
Testing a process in Debug mode is only possible with a sample data file. The process is pre-
configured to use the Sample Data.xml file located in the Configurations\Data folder.
To create your own sample data file:
1. Locate the Workflow configuration in the Configurations\Workflow folder and open it in
Connect Workflow.
2. Select the process.
3. Enable the Send to Folder step (step 2 in the process).
4. Send the Workflow configuration to PlanetPress Workflow service (see Saving and
sending a Workflow Configuration) and run it again, with a custom name value.
The Send to Folder step will now write the input data - the job file - to a file in the
Workspace\Debug folder.
When you select the file as sample file (on the Debug ribbon), it can be used to debug the
process. Note however that the process will not return the web page to a browser, as it wasn't
started by a browser.
Tip
The saved file can be used to create a data mapping configuration.
Project details
The web templates
Both web pages are designed in the WEB_FORM Web Page template. It contains a Web
context with two Web pages: form and thank_you (see "Web pages" on page580).
Styling is done via style sheets (see "Local formatting versus style sheets" on page785). The
style rules are in the context_web_styles.css file. Note that they use the HTML tag (e.g.
section), ID (#theID) and/or the class (.theclass) of elements to select them. (See also:
"Selectors in Connect" on page939.)
Dynamic content is inserted by scripts, which are listed on the Scripts pane. You can double-
click a script to open it.
Page 174