FetchBoxFileRepresentation 2025.10.9.21

Bundle

org.apache.nifi | nifi-box-nar

Description

Fetches a Box file representation using a representation hint and writes it to the FlowFile content.

Tags

box, cloud, content, download, file, representation, storage

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Box Client ServiceController Service used to obtain a Box API connection.
File IDThe ID of the Box file to retrieve.
Representation TypeThe type of representation to fetch. Common values include ‘pdf’, ‘text’, ‘jpg’, ‘png’, etc.

Relationships

NameDescription
failureFlowFiles that encounter errors during processing will be routed to this relationship.
file.not.foundFlowFiles for which the specified Box file was not found.
representation.not.foundFlowFiles for which the specified Box file’s requested representation was not found.
successFlowFiles that are successfully processed will be routed to this relationship.

Writes attributes

NameDescription
box.idThe ID of the Box file.
box.file.nameThe name of the Box file.
box.file.sizeThe size of the Box file in bytes.
box.file.created.timeThe timestamp when the file was created.
box.file.modified.timeThe timestamp when the file was last modified.
box.file.mime.typeThe MIME type of the file.
box.file.representation.typeThe representation type that was fetched.
box.error.messageThe error message returned by Box if the operation fails.
box.error.codeThe error code returned by Box if the operation fails.

See also