CreateBoxMetadataTemplate 2025.10.9.21

Bundle

org.apache.nifi | nifi-box-nar

Description

Creates a Box metadata template using field specifications from the flowFile content. Expects a schema with fields: “ ‘type’ (required), ‘key’ (required), ‘displayName’ (optional), ‘description’ (optional), ‘hidden’ (optional, boolean).

Tags

box, create, metadata, storage, templates

Input Requirement

REQUIRED

Supports Sensitive Dynamic Properties

false

Properties

PropertyDescription
Box Client ServiceController Service used to obtain a Box API connection.
HiddenWhether the template should be hidden in the Box UI.
Record ReaderThe Record Reader to use for parsing the incoming data
Template KeyThe key of the metadata template to create (used for API calls).
Template NameThe display name of the metadata template to create.

Relationships

NameDescription
failureA FlowFile is routed to this relationship if an error occurs during template creation.
successA FlowFile is routed to this relationship after a template has been successfully created.

Writes attributes

NameDescription
box.template.nameThe template name that was created
box.template.keyThe template key that was created
box.template.scopeThe template scope.
box.template.fields.countNumber of fields created for the template
error.codeThe error code returned by Box
error.messageThe error message returned by Box

See also