Actions21
- Document Actions
- PDF Service Actions
- Template Actions
- Workspace Actions
Template → Update
AI-generatedOverview
This node operation updates an existing PDF template using the PDF Generator API. It allows users to modify the complete configuration of a template, including its name, layout, pages, data settings, and editor options. This is useful for maintaining and refining PDF templates used for generating documents dynamically.
Use Case Examples
- Updating a template to change its layout from portrait to landscape.
- Modifying the pages array to add or remove components in the template.
- Adjusting data settings to filter or sort data used in the template.
Properties
| Name | Meaning |
|---|---|
| Template | Select the template to update by ID or from a list. |
| Template Configuration JSON | The complete JSON object representing the template configuration to update. Must include name, layout, pages array, dataSettings, and editor objects. |
Output
JSON
success- Indicates if the update operation was successful.message- Confirmation message of the update operation.templateId- The ID of the updated template.
Dependencies
- An API key credential for the PDF Generator API
Troubleshooting
- Ensure the template ID is valid and exists; otherwise, the update will fail.
- The template configuration JSON must be valid and include all required fields; invalid JSON will cause errors.
- API authentication errors may occur if the API key credential is missing or invalid.
Links
- PDF Generator API - Update Template - Official API documentation for updating templates using the PDF Generator API.