Certain configurations require uploading an Excel file to your application that contains multiple tabs. Let’s say you gathered data externally and want to process it using a Data Workflow. To process this data, you’ll use the Excel to JSON operator. Processing files with several tabs results in a different output compared to files with a single tab. The output will consist of a separate array for each tab present in your Excel file. It’s also important to note that the Excel to JSON operator only accepts the Base64, not the entire Excel file.
To complete the following configuration, you'll need a sample Excel file to upload. This configuration can accept any multi-tab Excel file you have available. The result you view in the DevTools Console might vary depending on the data you upload.
Configuration
In this how-to guide, you’ll upload a multi-tab Excel file to your application and process it using the Excel to JSON operator.
These instructions assume you have a new module open, saved with a title.
Configure the File Component
Begin by adding a File component to handle the file upload.
In the Module Builder, drag and drop a File component onto your canvas.
In the Property ID field, enter
fileUploadTabs.In the Label Text field, enter
Multiple Tabs Excel Upload.Click Save Component.
Configure the Data Workflow Component
Next, configure the Data Workflow. You'll include an Input operator to bring the data from your File component, and use a Get operator to retrieve the Base64 of your Excel file. Remember, the Excel to JSON operator only accepts the Base64, not the entire Excel file. From there, you'll pass that data to the Excel to JSON operator. Here, you'll set the multiTabExcel setting to Yes to process the mult-tab file. Lastly, you'll add a Console operator to view the output in the DevTools Console.
Drag and drop a Data Workflow component onto your canvas, placing it below your
Multiple Tabs Excel UploadFile component.In the Property ID and Canvas Label Text fields, enter
dwfExcelToJSONMultiTabs.
Configure the Input Operator
Drag and drop an Input operator onto your Data Workflow canvas.
Configure the operator's Info window as follows:
Setting
Value
Category
Input
Component
fileUploadTabs
Required
Yes
Source
Default
Configure the Get Operator
Drag and drop a Get operator onto your Data Workflow canvas.
Configure the operator's Info window as follows:
Setting
Value
Category
Get
Label
[0].data
Path
[0].data
Connect the output port (right) of the
fileUploadTabsInput operator to the input port (left) of the[0].dataGet operator.
Configure the Excel to JSON Operator
Drag and drop an Excel to JSON operator onto your Data Workflow canvas.
Configure the operator's Info window as follows:
Setting
Value
Category
Excel to JSON
Label
Multiple Tabs
mutliTabExcel
Yes
Connect the output port (right) of the
[0].dataGet operator to the input port (left) of theMultiple TabsExcel to JSON operator.
Configure the Console Operator
Drag and drop a Console operator onto your Data Workflow canvas.
Configure the operator's Info window as follows:
Setting
Value
Category
Console
Label
Output
Connect the output port (right) of the
Multiple TabsExcel to JSON operator to the input port (left) of theOutputConsole operator
Click Save Component.
Configure the Button Component
Lastly, configure a Button component to trigger your Data Workflow.
Drag and drop a Button component onto your canvas, placing it between your
Multiple Tabs Excel UploadFile anddwfExcelToJSONMultiTabsData Workflow components.In the Property ID field, enter
btnExcelTabsToJSON.In the Label Text field, enter
Multiple Tabs Excel to JSON.From the Action Type drop-down, select Event.
From the On Click drop down, select dwfExcelToJSON.

Click Save Component.
Save your module.
Here's how your completed module looks in the Module Builder:

Preview your module in Express View and open the DevTools Console. Upload a multi-tab Excel file and click the Multiple Tabs Excel to JSON button. You'll see a new JSON object populate with the data from your Excel file. In the object, you'll see arrays for each tab in your Excel file. In the below example, you'll see data retrieved from an Excel file that includes three tabs: applicationIds, clientInfo, and organizations.
You'll get a different result depending on what data exists in your Excel file. Try uploading different Excel data to view the various outputs. From there, you can change settings in your Data Workflow to retrieve the output you want. Once you have the JSON data you need, you can pass it to another process.
.jpg)
Certain configurations require uploading an Excel file to your application that contains multiple tabs. Let’s say you gathered data externally and want to process it using a Data Workflow. To process this data, you’ll use the Excel to JSON operator. Processing files with several tabs results in a different output compared to files with a single tab. The output will consist of a separate array for each tab present in your Excel file. It’s also important to note that the Excel to JSON operator only accepts the Base64, not the entire Excel file.
To complete the following configuration, you'll need a sample Excel file to upload. This configuration can accept any multi-tab Excel file you have available. The result you view in the DevTools Console might vary depending on the data you upload.
Configuration
In this how-to guide, you’ll upload a multi-tab Excel file to your application and process it using the Excel to JSON operator.
These instructions assume you have a new module open, saved with a title.
Configure the File Component
Begin by adding a File component to handle the file upload.
In the Module Builder, drag and drop a File component onto your canvas.
In the Property ID field, enter
fileUploadTabs.In the Label Text field, enter
Multiple Tabs Excel Upload.Click Save.
Configure the Data Workflow Component
Next, configure the Data Workflow. You'll include an Input operator to bring the data from your File component, and use a Get operator to retrieve the Base64 of your Excel file. Remember, the Excel to JSON operator only accepts the Base64, not the entire Excel file. From there, you'll pass that data to the Excel to JSON operator. Here, you'll set the multiTabExcel setting to Yes to process the mult-tab file. Lastly, you'll add a Console operator to view the output in the DevTools Console.
Drag and drop a Data Workflow component onto your canvas, placing it below your
Multiple Tabs Excel UploadFile component.In the Canvas Label Text and Property Name fields, enter
dwfExcelToJSONMultiTabs.
Configure the Input Operator
Drag and drop an Input operator onto your Data Workflow canvas.
Configure the operator's Info window as follows:
Setting
Value
Category
Input
Component
fileUploadTabs
Required
Yes
Source
Default
Configure the Get Operator
Drag and drop a Get operator onto your Data Workflow canvas.
Configure the operator's Info window as follows:
Setting
Value
Category
Get
Label
[0].data
Path
[0].data
Connect the output port (right) of the
fileUploadTabsInput operator to the input port (left) of the[0].dataGet operator.
Configure the Excel to JSON Operator
Drag and drop an Excel to JSON operator onto your Data Workflow canvas.
Configure the operator's Info window as follows:
Setting
Value
Category
Excel to JSON
Label
Multiple Tabs
mutliTabExcel
Yes
Connect the output port (right) of the
[0].dataGet operator to the input port (left) of theMultiple TabsExcel to JSON operator.
Configure the Console Operator
Drag and drop a Console operator onto your Data Workflow canvas.
Configure the operator's Info window as follows:
Setting
Value
Category
Console
Label
Output
Connect the output port (right) of the
Multiple TabsExcel to JSON operator to the input port (left) of theOutputConsole operator.
Click Save.
Configure the Button Component
Lastly, configure a Button component to trigger your Data Workflow.
Drag and drop a Button component onto your canvas, placing it between your
Multiple Tabs Excel UploadFile anddwfExcelToJSONMultiTabsData Workflow component.In the Property ID field, enter
btnExcelTabsToJSON.In the Label Text field, enter
Multiple Tabs Excel to JSON.Set the Action Type as Event.
From the On Click drop-down, select
dwfExcelToJSON.
Click Save & Close.
Save your module.
Here's how your completed module looks in the Module Builder:

Preview your module in Express View and open the DevTools Console. Upload a multi-tab Excel file and click the Multiple Tabs Excel to JSON button. You'll see a new JSON object populate with the data from your Excel file. In the object, you'll see arrays for each tab in your Excel file. In the below example, you'll see data retrieved from an Excel file that includes three tabs: applicationIds, clientInfo, and organizations.
You'll get a different result depending on what data exists in your Excel file. Try uploading different Excel data to view the various outputs. From there, you can change settings in your Data Workflow to retrieve the output you want. Once you have the JSON data you need, you can pass it to another process.
.jpg)