Apryse PDFNet SDK provides a multitude of document processing and manipulation capabilities through its Smart Services. These services are made available through Smart Services on Appian, which can be used to automate document processing workflows. You can use them in process models to merge documents and then redact them when a user clicks a button, or to convert uploaded Office documents to PDFs.
This smart service converts Office documents to PDFs. It supports the following file types: DOC, DOCX, XLS, XLSX, PPT, PPTX. You can use this to convert Office documents when users upload them for archiving or annotating purposes.
Input Parameters
Parameter Name | Type | Required | Multiple | Description |
---|---|---|---|---|
| Document | Yes | Yes | The document(s) to convert to PDF. |
| Folder | Yes | No | The folder where the converted PDFs will be saved to. |
| Boolean | No | No | Whether the output PDF should be linearized. |
Output Parameters
Parameter Name | Type | Description |
---|---|---|
| Text | The error message if the conversion failed. |
| Boolean | Whether the conversion failed. |
| Document | The converted PDF document(s). |
This smart service generates a PDF from an Office Word template. The syntax uses moustaches ({{
and }}
) to denote placeholders in the template. For a guide on using this syntax, please check out the PDFNet SDK documentation. This is useful when you want to generate a PDF from a template and populate it with data, such as a contract or invoice.
Input Parameters
Parameter Name | Type | Required | Multiple | Description |
---|---|---|---|---|
| Document | Yes | No | The Word template document. |
| Text | Yes | No | The JSON data to populate the template with. |
| Folder | Yes | No | The folder where the generated PDF will be saved to. |
| Text | Yes | No | The filename of the generated PDF. |
| Boolean | No | No | Whether the output PDF should be linearized. |
Output Parameters
Parameter Name | Type | Description |
---|---|---|
| Text | The error message if the conversion failed. |
| Boolean | Whether the conversion failed. |
| Document | The generated PDF document. |
This smart service searches for text in a document and redacts it completely from the document. This is useful when you want to remove sensitive information from a document before sharing it with others. You can search for a specific string or use a regular expression to search for patterns.
Input Parameters
Parameter Name | Type | Required | Multiple | Description |
---|---|---|---|---|
| Document | Yes | Yes | The document(s) to search and redact. |
| Text | Yes | No | The search term to redact. This can be a string or a string with a regular expression. |
| Boolean | No | No | Whether to save the redacted document as a new document. If |
| Folder | No | No | The folder where the redacted PDFs will be saved to. Required if |
| Text | No | No | The prefix to add to the redacted document filename. |
| Text | No | No | The suffix to add to the redacted document filename. |
| Boolean | No | No | Whether the output PDF should be linearized. |
Output Parameters
Parameter Name | Type | Description |
---|---|---|
| Text | The error message if the conversion failed. |
| Boolean | Whether the conversion failed. |
| Document | The redacted PDF document(s). |
This smart service merges multiple documents into a single PDF. Office and images are supported as well.
Input Parameters
Parameter Name | Type | Required | Multiple | Description |
---|---|---|---|---|
| Document | Yes | Yes | The document(s) to merge. |
| Boolean | No | No | Whether to save the merged document as a new document. If |
| Folder | No | No | The folder where the merged PDF will be saved to. |
| Text | No | No | The filename of the merged PDF. |
| Boolean | No | No | Whether the output PDF should be linearized. |
Output Parameters
Parameter Name | Type | Description |
---|---|---|
| Text | The error message if the conversion failed. |
| Boolean | Whether the conversion failed. |
| Document | The merged PDF document. |
This smart service flattens annotations and form fields in a document. This is useful when you want to prevent users from editing the document or just optimizing the document for viewing.
Input Parameters
Parameter Name | Type | Required | Multiple | Description |
---|---|---|---|---|
| Document | Yes | Yes | The document(s) to flatten. |
| Boolean | No | No | Whether to flatten annotations. |
| Boolean | No | No | Whether to save the flattened document as a new document. If |
| Folder | No | No | The folder where the flattened PDFs will be saved to. Required if |
| Text | No | No | The prefix to add to the flattened document filename. |
| Text | No | No | The suffix to add to the flattened document filename. |
| Boolean | No | No | Whether the output PDF should be linearized. |
Output Parameters
Parameter Name | Type | Description |
---|---|---|
| Text | The error message if the conversion failed. |
| Boolean | Whether the conversion failed. |
| Document | The flattened PDF document(s). |
This smart service extracts XFDF data from a document. XFDF is a format used to store annotations, and form field data in a PDF document. This is useful when you want to extract the annotations, and form field data from a document, and store it in a database or another system, and then import it back into the document later.
Input Parameters
Parameter Name | Type | Required | Multiple | Description |
---|---|---|---|---|
| Document | Yes | No | The document to extract XFDF data from. |
| Number | No | No | The export option to use. Forms Only: 0, Annotations Only: 1, Both: 2. |
Output Parameters
Parameter Name | Type | Description |
---|---|---|
| Text | The error message if the conversion failed. |
| Boolean | Whether the conversion failed. |
| Text | The XFDF string extracted from the document. |
This smart service merges XFDF data into a document. XFDF is a format used to store annotations, and form field data in a PDF document. This is useful when you want to import the annotations, and form field data back into a document from a database or another system.
Input Parameters
Parameter Name | Type | Required | Multiple | Description |
---|---|---|---|---|
| Document | Yes | No | The document to merge XFDF data into. |
| Text | Yes | No | The XFDF string to merge into the document. |
| Boolean | No | No | Whether to save the merged document as a new document. If |
| Folder | No | No | The folder where the merged PDFs will be saved to. Required if |
| Text | No | No | The filename of the merged PDF. |
| Boolean | No | No | Whether the output PDF should be linearized. |
Output Parameters
Parameter Name | Type | Description |
---|---|---|
| Text | The error message if the conversion failed. |
| Boolean | Whether the conversion failed. |
| Document | The merged PDF document. |
This smart service certifies PDF documents. Certification is a way to secure a document by adding a digital signature to it. This is useful when you want to ensure that the document has not been tampered with and that it comes from a trusted source.
Input Parameters
Parameter Name | Type | Required | Multiple | Description |
---|---|---|---|---|
| Document | Yes | Yes | The document(s) to certify. |
| Document | Yes | No | The private key file to use for signing the document. |
| Text | Yes | No | The password to decrypt the private key file. |
| Boolean | No | No | Whether to save the certified document as a new document. If |
| Folder | No | No | The folder where the certified PDFs will be saved to. Required if |
| Text | No | No | The prefix to add to the certified document filename. |
| Text | No | No | The suffix to add to the certified document filename. |
| Boolean | No | No | Whether the output PDF should be linearized. |
Output Parameters
Parameter Name | Type | Description |
---|---|---|
| Text | The error message if the conversion failed. |
| Boolean | Whether the conversion failed. |
| Document | The certified PDF document(s). |
This smart service validates certified PDF documents. Validation is a way to ensure that the document has not been tampered with and that it comes from a trusted source.
Input Parameters
Parameter Name | Type | Required | Multiple | Description |
---|---|---|---|---|
| Document | Yes | Yes | The document(s) to validate. |
| Document | Yes | No | The public key file to use for validating the document. |
| Boolean | No | No | Whether to use the maximum security level for validation. |
Output Parameters
Parameter Name | Type | Description |
---|---|---|
| Text | The error message if the conversion failed. |
| Boolean | Whether the conversion failed. |
| Boolean | The validation results. |
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales