Please enable JavaScript to view this site.

InterFormNG2 Manual

The advanced, utilities workflow component, PDF Metadata to XML can help you to extract both metadata as well as key/values for form fields from a PDF file. The PDF must be loaded into the payload of the workflow before running this component. The component returns the result as XML into the payload.

 

The component has only a comment as parameter, which is optional and it has not effect on the component:

 

NG2PDFMetadata2XML0001

 

The resulting XML file can look like this:

 

NG2PDFMetadata2XML0004

 

The component can e.g. be used as shown in the workflow below:

 

NG2PDFMetadata2XML0002

 

In this example these components are used:

 

Read from file

NG2PDFMetadata2XML0003

 

In this component we read PDF files (with extension .pdf) from a directory, that are to be processed in this workflow.

 

PDF Metadata to XML

This exacts the metadata as described above - without any parameters.

 

 

To filesystem

Here we save the resulting XML file:

NG2PDFMetadata2XML0005

 

If we would want to refer to the name of the input PDF file, then we can find it as one of the predefined variables for input files.