Installation and Configuration
Selection-based and import-based Web2Publish rendering use the same installation procedure. The project name, deployment package, required processes, and configuration files may differ depending on the rendering method and use case.
Prerequisites
Before you begin, make sure that:
- Web2Publish is installed.
- ObjectStorage is installed. You need it to upload the document template.
- A template publication exists, or a document template is uploaded to priint:planner.
- The Consistent Demo Data is installed. See the Installation Guide.
- The Web2Publish skeleton package is available on the priint webftp storage, in the
priint_suite_accpacksfolder underDemo_SkeletonWeb2Publish. Please contact our support for access.
Create the Hotfolder, Success Folder, and Error Folder
You need a hotfolder only for import-based rendering. If you use selection-based rendering, skip this section.
The import process uses these folders to handle the Excel files that users upload. Create them before you run the Camunda processes. The paths must match the paths configured in the processes. Use the Publishing Server installation path for your environment.
- Linux
- Windows
The examples use /opt/pubserver. If your Publishing Server is installed somewhere else, replace this path in each command.
-
Connect to the target server using SSH, or open a terminal on the server.
-
Create the hotfolder with the
successanderrorfolders:sudo mkdir -p /opt/pubserver/userdata/hotfolder/success /opt/pubserver/userdata/hotfolder/error -
Give the Publishing Server user and group ownership of the hotfolder. The example uses
pubserver:pubserver. Replace it if your server runs under another user:sudo chown -R pubserver:pubserver /opt/pubserver/userdata/hotfolder
- Connect to the target Windows server using Remote Desktop.
- Open File Explorer and go to the Publishing Server installation folder.
- Open the
userdatafolder. - Create a folder named
hotfolderif it does not exist. - Open
hotfolderand create two subfolders namedsuccessanderror.
You only need to setup the hotfolder if you're planning to use the Import-based rendering publication type.
Step 1: Download and Extract the Skeleton Package
- Open the priint webftp storage.
- Navigate to
priint_suite_accpacks/Demo_SkeletonWeb2Publish. - Download
SkeletonConsistentDemo-<version>.zipfor the version you want to install. Please contact our support for access. - Extract the archive.
The extracted archive contains the following files and folders:
| File or folder | Contents |
|---|---|
SkeletonConsistentDemo-<version>-install.zip | Plugin WAR and ISON XML configuration for a first-time installation |
SkeletonConsistentDemo-<version>-update.zip | Plugin WAR for updating an existing installation |
example | Example Excel data |
bpm | Camunda processes required to run the Consistent Demo in Web2Publish |
publicationtype | Publication type and metadata used by the default configuration |
Step 2: Deploy the Skeleton Package
Use the package that matches your installation.
First-Time Installation
- Extract
SkeletonConsistentDemo-<version>-install.zip. - Open the
publicationtype/folder in the extracted package. It contains the following publication type XML files:
| File | Rendering method |
|---|---|
Generic_Import_Based_Rendering.xml | Import-based rendering |
Generic_Selection_Based_Rendering.xml | Selection-based rendering |
-
In priint:admin UI, go to Processes > Generic Import. Select process type Import, object type General and process Import PublicationTypes to upload the XML file that matches the rendering method you want to use:
- Import-based rendering: Upload
Generic_Import_Based_Rendering.xml. - Selection-based rendering: Upload
Generic_Selection_Based_Rendering.xml. - Both rendering methods: Import both XML files. For metadata descriptions and default values, see Publication Type Metadata.
- Import-based rendering: Upload
-
Deploy the extracted installation package using the package deployment process in priint:admin UI, as described in Using Accelerating Package in your Project.
Update an Existing Installation
- Extract
SkeletonConsistentDemo-<version>-update.zip. - Deploy the extracted update package using the package deployment process in priint:admin UI, as described in Using Accelerating Package in your Project.
This installs the base skeleton. The next steps add the processes and configuration for your rendering method.
Step 3: Deploy the Camunda Processes
The demo needs a set of Camunda processes. Deploy the processes listed below. You find them in the bpm folder of the Demo_SkeletonWeb2Publish package.
| No. | Process | Object type | Process type | Description |
|---|---|---|---|---|
| 1 | W2P_GENERIC_IMPORTING_AND_PLANNING | FOLDER_PUBLICATION | UPLOAD_PROCESS | Import and plan data |
| 2 | W2P_GENERIC_DOCUMENT_RENDERING | DOCUMENT | SERVICE_PROCESS | Render a document |
| 3 | W2P_GENERIC_CREATE_PDF_DOCUMENT | DOCUMENT | SERVICE_PROCESS | Create the PDF of a document |
| 4 | W2P_GENERIC_IMPORT_RENDERING_AND_EXPORT_PDF | FOLDER_PUBLICATION | DOWNLOAD_PROCESS | Render and retrieve the PDF result |
| 5 | W2P_GENERIC_SELECTION_RENDERING | FOLDER_PUBLICATION | DOWNLOAD_PROCESS | Render a publication |
- Import-based rendering: Deploy processes 1–4. See Import-Based Rendering for details.
- Selection-based rendering: Deploy process 5. See Selection-Based Rendering for details.
- Both rendering methods: Deploy all five processes.
Step 4: Configure the Publication Type
Tell Web2Publish which publication types to use. Each publication type gets a new ID when you import it, so the ID is different on every system. Set the IDs in each system.
-
Go to Publications > Publication Types. Open the context menu of an imported publication type and select Copy ID to Clipboard.

-
Open this ISON configuration:
com.priint.w2p.config.W2PConfiguration/WerkII/default/default.xml -
Find the
publicationTypeentry for your rendering method. Each entry has the placeholder${publicationTypeId}in itsidentifierattribute:<publicationTypes>
<publicationType identifier="${publicationTypeId}" name="Generic Import Based Rendering">
<label>generic_lbl_import_publication</label>
<wizards>
<wizard>generic_import_publication</wizard>
</wizards>
<teams />
</publicationType>
<publicationType identifier="${publicationTypeId}" name="Generic Selection Based Rendering">
<label>generic_lbl_publication_type</label>
<wizards>
<wizard>generic_publication</wizard>
</wizards>
<teams />
</publicationType>
</publicationTypes> -
Replace
${publicationTypeId}with the ID you copied. Make sure the ID belongs to the publication type with the same name as the entry. -
Save the file and check in the configuration.
Step 5: Create a Publication Template
Web2Publish starts every new publication from a template publication. Make sure you understand this concept before you continue. Read the concepts of Web2Publish and how to set up a template publication.
The linked pages describe the generic setup. For the demo, you do not need to create the publication type or its metadata. You imported them in Step 2.
Create a publication template in priint:planner:
- Navigate to priint:planner > Publications.
- Create a publication and assign the publication type.
- Select the publication and click Edit.
- Go to Metadata > W2P and select W2P Is Template.
- Click Save.
Create a Document
The template publication needs a document:
- Select the publication template.
- Click Create document.
- Enter a name in Label.
- In Document template, select the
.inddor.w2mlfile that you uploaded earlier. - Check the remaining document settings and confirm.

Step 6: Verify the Installation
Open priint:web2publish and verify that the demo is available.
For rendering-method-specific configuration and usage, see the references below.