2020.2

Table Of Contents
Create Web Content
The Create Web Content task generates the output of the Web Context of a specified template
for a single record and returns the HTML code to PlanetPress Workflow for further processing
and return to the requester. Generally, this task is placed within an "HTTP Server workflow" on
page275.
This task can be added as an Action task (see "Action tasks" on page373) or as an Output task
(see "Output tasks" on page643). Adding it as an Action task enables the process or branch to
continue after this task. An Output task is always located at the end of a process or branch.
Tip
Drag-and-drop a template from the Connect resources in the Configuration Components
pane on a process to add this task or one of the other OL Connect tasks that create
content from a template: a "Create Email Content" on page590 task, a "Create Preview
PDF" on page601 task, or a "Create Web Content" above task.
Input
This task must receive either a valid Record ID or a JSON object.
Record ID
A valid Record ID can be retrieved from various data sources. By default, when the Record ID
input option is selected, the metadata is used as input. The "Execute Data Mapping" on
page618 task and the "Retrieve Items" on page635 task output metadata containing
information regarding records.
JSON
The Create Web Content task supports two types of JSON:
l A JSON object or an array of JSON objects representing records. If a value in a record
object is a string, it is considered to be a field value. If a value in a record object is a
JSON object, it is considered to be a nested table with detail records. For examples, see
"JSON string examples" on page90.
l A JSON Record Data List (see the REST API Cookbook and "JSON Record Data List
example" on page92). When the "Execute Data Mapping" on page618 or "Retrieve
Page 611