Some test text!

Search
Hamburger Icon

Appian / Guides / PDFNet Smart Services

Apryse PDFNet Smart Services

Overview

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.

Available PDFNet Smart Services

Convert Office to PDF

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 NameTypeRequiredMultipleDescription
Input Document IDsDocumentYesYesThe document(s) to convert to PDF.
Save Folder IDFolderYesNoThe folder where the converted PDFs will be saved to.
Should Linearize OutputBooleanNoNoWhether the output PDF should be linearized.

Output Parameters

Parameter NameTypeDescription
Error MessageTextThe error message if the conversion failed.
Has ErrorBooleanWhether the conversion failed.
Output Document IDsDocumentThe converted PDF document(s).

Generate PDF from Office Template

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 NameTypeRequiredMultipleDescription
Template Document IDDocumentYesNoThe Word template document.
JSON DataTextYesNoThe JSON data to populate the template with.
Save Folder IDFolderYesNoThe folder where the generated PDF will be saved to.
FilenameTextYesNoThe filename of the generated PDF.
Should Linearize OutputBooleanNoNoWhether the output PDF should be linearized.

Output Parameters

Parameter NameTypeDescription
Error MessageTextThe error message if the conversion failed.
Has ErrorBooleanWhether the conversion failed.
Output Document IDDocumentThe generated PDF document.

Search & Redact Documents

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 NameTypeRequiredMultipleDescription
Document IDsDocumentYesYesThe document(s) to search and redact.
Search TermTextYesNoThe search term to redact. This can be a string or a string with a regular expression.
Save As New DocumentBooleanNoNoWhether to save the redacted document as a new document. If true, then Save Folder ID, Prefix, and Suffix will be used. If false, the original document will be updated.
Save Folder IDFolderNoNoThe folder where the redacted PDFs will be saved to. Required if Save As New Document is true.
PrefixTextNoNoThe prefix to add to the redacted document filename.
SuffixTextNoNoThe suffix to add to the redacted document filename.
Should Linearize OutputBooleanNoNoWhether the output PDF should be linearized.

Output Parameters

Parameter NameTypeDescription
Error MessageTextThe error message if the conversion failed.
Has ErrorBooleanWhether the conversion failed.
Output Document IDsDocumentThe redacted PDF document(s).

Merge Documents

This smart service merges multiple documents into a single PDF. Office and images are supported as well.

Input Parameters

Parameter NameTypeRequiredMultipleDescription
Document IDsDocumentYesYesThe document(s) to merge.
Save As New DocumentBooleanNoNoWhether to save the merged document as a new document. If true, then Save Folder ID, and Filename will be used. If false,
Save Folder IDFolderNoNoThe folder where the merged PDF will be saved to.
FilenameTextNoNoThe filename of the merged PDF.
Should Linearize OutputBooleanNoNoWhether the output PDF should be linearized.

Output Parameters

Parameter NameTypeDescription
Error MessageTextThe error message if the conversion failed.
Has ErrorBooleanWhether the conversion failed.
Output Document IDDocumentThe merged PDF document.

Flatten Documents

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 NameTypeRequiredMultipleDescription
Document IDsDocumentYesYesThe document(s) to flatten.
Should Flatten AnnotationsBooleanNoNoWhether to flatten annotations.
Save As New DocumentBooleanNoNoWhether to save the flattened document as a new document. If true, then Save Folder ID, Prefix, and Suffix will be used. If false, the original document will be updated.
Save Folder IDFolderNoNoThe folder where the flattened PDFs will be saved to. Required if Save As New Document is true.
PrefixTextNoNoThe prefix to add to the flattened document filename.
SuffixTextNoNoThe suffix to add to the flattened document filename.
Should Linearize OutputBooleanNoNoWhether the output PDF should be linearized.

Output Parameters

Parameter NameTypeDescription
Error MessageTextThe error message if the conversion failed.
Has ErrorBooleanWhether the conversion failed.
Output Document IDsDocumentThe flattened PDF document(s).

Extract XFDF

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 NameTypeRequiredMultipleDescription
Document IDDocumentYesNoThe document to extract XFDF data from.
Export OptionNumberNoNoThe export option to use. Forms Only: 0, Annotations Only: 1, Both: 2.

Output Parameters

Parameter NameTypeDescription
Error MessageTextThe error message if the conversion failed.
Has ErrorBooleanWhether the conversion failed.
XFDF StringTextThe XFDF string extracted from the document.

Merge XFDF

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 NameTypeRequiredMultipleDescription
Document IDDocumentYesNoThe document to merge XFDF data into.
XFDF StringTextYesNoThe XFDF string to merge into the document.
Save As New DocumentBooleanNoNoWhether to save the merged document as a new document. If true, then Save Folder ID, and Filename will be used. If false, the original document will be updated.
Save Folder IDFolderNoNoThe folder where the merged PDFs will be saved to. Required if Save As New Document is true.
FilenameTextNoNoThe filename of the merged PDF.
Should Linearize OutputBooleanNoNoWhether the output PDF should be linearized.

Output Parameters

Parameter NameTypeDescription
Error MessageTextThe error message if the conversion failed.
Has ErrorBooleanWhether the conversion failed.
Output Document IDDocumentThe merged PDF document.

Certify Documents

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 NameTypeRequiredMultipleDescription
Document IDsDocumentYesYesThe document(s) to certify.
Private Key File IDDocumentYesNoThe private key file to use for signing the document.
Key File PasswordTextYesNoThe password to decrypt the private key file.
Save As New DocumentBooleanNoNoWhether to save the certified document as a new document. If true, then Save Folder ID, Prefix, and Suffix will be used. If false, the original document will be updated.
Save Folder IDFolderNoNoThe folder where the certified PDFs will be saved to. Required if Save As New Document is true.
PrefixTextNoNoThe prefix to add to the certified document filename.
SuffixTextNoNoThe suffix to add to the certified document filename.
Should Linearize OutputBooleanNoNoWhether the output PDF should be linearized.

Output Parameters

Parameter NameTypeDescription
Error MessageTextThe error message if the conversion failed.
Has ErrorBooleanWhether the conversion failed.
Output Document IDsDocumentThe certified PDF document(s).

Validate Certified Documents

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 NameTypeRequiredMultipleDescription
Document IDsDocumentYesYesThe document(s) to validate.
Public Key File IDDocumentYesNoThe public key file to use for validating the document.
Use Max Security LevelBooleanNoNoWhether to use the maximum security level for validation.

Output Parameters

Parameter NameTypeDescription
Error MessageTextThe error message if the conversion failed.
Has ErrorBooleanWhether the conversion failed.
Validation ResultsBooleanThe validation results.

Trial setup questions? Ask experts on Discord
Need other help? Contact Support
Pricing or product questions? Contact Sales