Start document generation

Start document generation


primedocs Connect can be processed on both the client and server side.

Client-side processing

File extensions

Two file extensions are already linked to the primedocs client in Windows:

File extension

Description

File extension

Description

.pdcx

Contains primedocs Connect-compliant XML and is executed directly by primedocs (without prompting). Unless otherwise defined in the XML, the file is deleted after the document is created.

.pdck

Same as .pdcx, but the k stands for keep. The primedocs Connect file is not deleted after processing.

If you create a primedocs Connect file and name it with the file extension .pdcx or .pdck, this file is automatically linked to primedocs and can be started normally via Windows.

Call via console

It is also possible to call primedocs via the console:

.\primedocs.exe /connect "<path to xml file>"

Alternatively, the call via the /URI parameter also works::

.\primedocs.exe /uri "primedocs:connect=<path to xml file>&keepConnect=true"

IMPORTANT
primedocs automatically deletes the connect file after processing. If the additional argument /keepConnect is passed, this behavior can be suppressed. If called via shell, the file extension “.pdck” must be used.

TemplatePicker

The TemplatePicker is displayed if:

  • no template element has been specified

  • or the TagFilter would produce several templates and AllowTemplatePicker="true" has been defined.


Server-side processing

primedocs Connect can be used on the server side via the Web API: Connect API

PrimeSoft AG, Bahnhofstrasse 4, 8360 Eschlikon, Switzerland