Advanced computed field methods
Get file metadata
Gets metadata about the document file.
Parameters
The following parameters are in the computed field’s global Method parameter:
key | value | description |
---|---|---|
id (required) | getFileMetadata | |
type | filename | Copies the document’s filename without the file extension to the extraction output. Sensible gets the filename from the Document Name parameter if you extract through the API or SDKs, or assigns a document name on upload if you use the Sensible app. |
Examples
The following example shows extracting the filename from the example document.
Config
JSON
Example document
The following image shows the example document used with this example config:
Example document | Download link |
---|
Output
JSON