DIDComposeDocxInteractiveStartV1
The DIDComposeDocxInteractiveStartV1 call starts an interactive run that composes a DOCX document from a Document Template or a Letter Book.
The request requires the following fields next to the standard fields.
Field | Type | Description |
project | repositoryobjectname | The Designer project that contains the Document Template or the Letter Book that you want to start an interactive run for. |
documenttemplate | repositoryobjectname | Optional. If specified, the Document Template that you want to start an interactive run for. Either a documenttemplate or letterbook must be specified, but not both. |
lettterbook | repositoryobjectname | Optional. If specified, the Letter Book that you want to start an interactive run for. Either a documenttemplate or letterbook must be specified, but not both. |
status | message | Optional. The status of the Document Template that you want to use. The available statuses are Current, Accepted, or Published. If omitted, Published is used. |
previewformat | message | Optional. If specified, the format of the document previews that you want to have during the interactive run. This can be either PDF or HTML. HTML conversions proceed through the MakeHTMLDocument.dss Core scripting exit point. This exit point makes uses of the .msxsl transformation tool. Make sure that this tool is installed on the system and that it is in the binary search path. |
keys | message | Optional. A semicolon separated list of keys. If a key should refer to the uploaded xmlfile, the special value *XMLFILE should be used. In this case the xmlfile parameter is required. Note that *XMLFILE is interpreted case-sensitively. |
extras | message | Optional. An extra parameter is a single string that contains items separated by semilcolons and has a limitation of 1024 characters. This parameter is not meant to pass big amounts of data to a template, for this purpose, use the Data Backbone. |
xmlfile | base64Binary | Optional. A base-64 encoded data xml file, which matches the DID on which the template is based. If a file is passed for the xmlfile parameter, the keys will be required to contain at least one occurrence of *XMLFILE. |
environment | name | Optional. Specifies the data environment that will be used. If no environment parameter is passed, the default environment will be used. If you pass an environment that does not exist, an error occurs. |
If you want to supply a key or extra value with a semicolon, use a slash as an escape character.
Example:
-
Extra1;Extra2. These are two extra parameters separated by a semicolon: Extra1 and Extra2.
-
Extra1/;Extra2. This is only one extra parameter value: Extra1;Extra2.
For more information, see Kofax Communications Manager Template Scripting Language Guide.
Keys and Extras are only supported by the CCMCompatibility contract type. See the corresponding topic for more information on document pack template restrictions related to data retrieval.
The response contains the following fields in addition to the standard fields.
Field | Type | Description |
ccmsessionid | sessionId | KCM Contract Manage session identifier. |
url | url |
A URL that is relative to the base URL of Kofax Communications Manager. Example: https://<kcm server>:443/ccm/ All relative URLs that are returned are relative to this base URL. This URL refers to JSON data that serves as input to your interactive KCM ComposerUI web application. |
In case of an error, the response contains a SOAP Fault structure.