Write
Operation name
Write
Function overview
Writes input data to an Excel file.
Data model
The data model of this component is table model type.
If Specify format/comment in Mapper to write is selected, it's XML type.
Properties
For details on use of variables, refer to Variables.
Basic settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Name |
Required |
Not available |
Enter a name that is used on the script canvas. |
|
Input data |
Required |
Not available |
Select a component on the script canvas. |
|
Required settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
File |
Required |
Available |
Enter the Excel file path. The Browse button launches a file chooser that allows you to select a file. |
Note
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Sheet name |
Optional |
Available |
Select or enter a sheet of the Excel file specified in File. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Column list |
Optional |
- |
Specify column name for each column. Each column can be operated with the following buttons:
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Column list/Column name |
Required |
Available |
Specify a column name for each column. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Column list/Style |
Required |
Not available |
Select whether or not to write type/format information.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Column list/Type |
Required |
Not available |
Select the type of Column name.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Column list/Format |
Optional |
Available |
Select or enter a format for each type.
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Specify format/comment in Mapper to write |
Optional |
Not available |
Select whether or not to set elements for writing format/comment in the input schema.
|
|
Property actions
Item name |
Description |
Remarks |
---|---|---|
Open Excel Wizard |
Open the Excel Wizard with the file specified in File. = Remarks =
For how to configure settings, refer to Excel Write Wizard. |
|
Update column list |
Get column names and types from the first row values of the file specified in File and set them in Column list. |
Note
When the value of a target cell is empty, a different type from that of the target cell might be set to Column list/Type. |
Write settings
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Insert column names in the first row |
Optional |
Not available |
Select whether or not to insert column names into the first row of the specified file.
|
|
Overwrite |
Optional |
Not available |
Select whether or not to overwrite when data exists in the specified file.
|
|
Insert |
Optional |
Not available |
Select whether or not to insert data when writing data to the specified file.
|
|
Delete target sheet |
Optional |
Not available |
Select whether or not to delete the specified sheet before writing data to the specified file.
|
|
Specify write position |
Optional |
Not available |
Select whether to specify the start position for the write operation.
|
|
Condition to specify starting cell |
Optional |
Not available |
Select the condition for the cell where the write operation begin with.
|
|
Starting cell address |
Optional |
Available |
Enter the cell address as the condition to start writing. Example: A1 |
|
Value of starting cell |
Optional |
Available |
Enter the value of the cell used as the condition to start writing. |
|
Transaction
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Execute transaction processing |
Optional |
Not available |
Select whether or not to execute transaction processing.
|
For details, refer to Transactions for the connectors in the File category. |
Comment
Item name |
Required/Optional |
Use of variables |
Description |
Remarks |
---|---|---|---|---|
Comment |
Optional |
Not available |
You can write a short description of this connector. |
|
Schemas
-
When Specify format/comment in Mapper to write isn't selected
-
It's table model type.
-
The number of columns varies depending on the Column list settings.
= Remarks =For schema structure, refer to Table model type .
-
-
When Specify format/comment in Mapper to write is selected
It's XML type.
The schema structure is as follows:
<?xml version="1.0" encoding="UTF-8"?> <table> <row> <column> <format></format> </column> <column> <format></format> </column> : </row> <row> : </row> : </table>
Element name
Attribute name
Description
Remarks
table
-
row
-
column
-
Represents the value to be written in the cell.
-
Appears once for each column set in Column list.
format
-
Represents the format/comment to be written in the cell.
-
In this element, enter a string that is output from "Generate Excel Format" logic in Mapper.
-
The format selected in Column list/Style is overwritten with the format/comment output from "Generate Excel Format" logic.
-
Only the format/comment that is output from "Generate Excel Format" logic will be written. When format isn't written, the format selected in Column list/Style will be used as is.
-
When nothing is input, format/comment won't be written. The format selected in Column list/Style will be used as is.
-
-
Output schema
None.
Loading schema in Mapper
The schema is loaded automatically.
For details, refer to Edit Schema.
Transaction
Transaction is supported.
Transaction is enabled only when Execute transaction processing of Transaction is selected.
Parallel Stream Processing
-
When Specify format/comment in Mapper to write isn't selected
PSP is supported.
-
When Specify format/comment in Mapper to write is selected
As the input schema is XML type, it can't be used in PSP.
For details on PSP, refer to Parallel Stream Processing.
Available component variables
Component variable name |
Description |
Remarks |
---|---|---|
count |
The number of written data records is stored. |
|
message_category |
When an error occurs, the category of the message code corresponding to the error is stored. |
|
message_code |
When an error occurs, the code of the message code corresponding to the error is stored. |
|
message_level |
When an error occurs, the severity of the message code corresponding to the error is stored. |
|
error_type |
When an error occurs, the error type is stored. |
|
error_message |
When an error occurs, the error message is stored. |
|
error_trace |
When an error occurs, the trace information for the error is stored. |
|
Message codes, exception messages, and limitations
Connector |
Message code |
Exception message |
Limitations |
---|---|---|---|