FetchBoxFileRepresentation 2.3.0¶

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¶

Property

Description

File ID

The ID of the Box file to retrieve.

Representation Type

The type of representation to fetch. Common values include ‘pdf’, ‘text’, ‘jpg’, ‘png’, etc.

box-client-service

Controller Service used to obtain a Box API connection.

RELATIONSHIPS¶

NAME

DESCRIPTION

representation.not.found

FlowFiles for which the specified Box file’s requested representation was not found.

failure

FlowFiles that encounter errors during processing will be routed to this relationship.

success

FlowFiles that are successfully processed will be routed to this relationship.

file.not.found

FlowFiles for which the specified Box file was not found.

WRITES ATTRIBUTES¶

NAME

DESCRIPTION

box.id

The ID of the Box file.

box.file.name

The name of the Box file.

box.file.size

The size of the Box file in bytes.

box.file.created.time

The timestamp when the file was created.

box.file.modified.time

The timestamp when the file was last modified.

box.file.mime.type

The MIME type of the file.

box.file.representation.type

The representation type that was fetched.

box.error.message

The error message returned by Box if the operation fails.

box.error.code

The error code returned by Box if the operation fails.

SEE ALSO¶