SplitExcel

Description:

Splits a multi sheet Microsoft Excel spreadsheet into multiple Microsoft Excel spreadsheets where each sheet from the original file is converted to an individual spreadsheet in its own flow file. This processor is currently only capable of processing .xlsx (XSSF 2007 OOXML file format) Excel documents and not older .xls (HSSF '97(-2007) file format) documents. NOTE: All original cell styles are dropped when splitting into multiple Microsoft Excel spreadsheets.

Tags:

split, text

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Protection TypeProtection TypeUnprotected
  • Unprotected An Excel spreadsheet not protected by a password
  • Password Protected An Excel spreadsheet protected by a password
Specifies whether an Excel spreadsheet is protected by a password or not.
PasswordPasswordThe password for a password protected Excel spreadsheet
Sensitive Property: true

This Property is only considered if the [Protection Type] Property has a value of "Password Protected".

Relationships:

NameDescription
failureIf a FlowFile cannot be transformed from the configured input format to the configured output format, the unchanged FlowFile will be routed to this relationship.
originalThe original FlowFile that was split into segments. If the FlowFile fails processing, nothing will be sent to this relationship
splitThe individual Excel 'segments' of the original Excel FlowFile will be routed to this relationship.

Reads Attributes:

None specified.

Writes Attributes:

NameDescription
fragment.identifierAll split Excel FlowFiles produced from the same parent Excel FlowFile will have the same randomly generated UUID added for this attribute
fragment.indexA one-up number that indicates the ordering of the split Excel FlowFiles that were created from a single parent Excel FlowFile
fragment.countThe number of split Excel FlowFiles generated from the parent Excel FlowFile
segment.original.filenameThe filename of the parent Excel FlowFile
sheetnameThe name of the Excel sheet from the original spreadsheet.
total.rowsThe number of rows in the Excel sheet from the original spreadsheet.

State management:

This component does not store state.

Restricted:

This component is not restricted.

Input requirement:

This component requires an incoming relationship.

System Resource Considerations:

None specified.