JSON API - processTemplate

processTemplate

PREMIUM TRIAL / ADVANCED

Preprocesses a given Word template in order to speed up further manipulations over it.

Note

You are reading the JSON API documentation. For the PHP API method please go to processTemplate.

JSON data
Key Description
variables You may try to generate automatically this object with the getVariables method although it is highly recommended to have a look at the resulting object to make sure that it includes all the relevant variables in the expected format.
Code samples

Example #1

A template can be a local file, a Base64 string, or a remote file.

Release notes
  • phpdocx 18.0:
    • new action.