Create Folder

Operation Name

Create Folder

Function Overview

In Box, create the folder specified in the input data.
For details on API specifications used by this component, refer to the Box API reference at the following URL.

Data Model

Data model of this type of component is table model type.

Properties

For details on using variables, refer to "Variables".
Basic Settings
Item name Required/Optional Use of variables Description Remarks
Name Required Not available Enter the name 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
Destination Required Not available Select Global Resources.
For details on global resource settings, refer to "Global resource properties".
  • [Add]:
    Add a new global resource.
  • [Edit list]:
    Allows you to edit the global resource settings in "Edit resource list".
 
Comment
Item name Required/Optional Use of variables Description Remarks
Comment Optional Not available You can write a short description of this adapter.
The description will be applied to the specifications.
 

Schema

Input Schema

<?xml version="1.0" encoding="UTF-8" ?>
<table>
  <row>
    <column>login</column>
    <column>box_folder_path</column>
  </row>
  <row>
    :
  </row>
</table>
Element name Label Description Required/Optional Remarks
row
-
Repeat the creation of folders for each row.    
column login Enter the email address that the user uses to log in. Required  
box_folder_path Enter the folder path. Required
  • For more details on path format, refer to "Limitations".

Output Schema

<?xml version="1.0" encoding="UTF-8" ?>
<table>
  <row>
    <column>result</column>
    <column>login</column>
    <column>box_folder_path</column>
    <column>status_code</column>
    <column>error_code</column>
    <column>message</column>
    <column>request_id</column>
  </row>
  <row>
    :
  </row>
</table>
Element name Label Description Remarks
row
-
Repeat the input process the number of times that input failed in the processing.  
column result When input is incorrect, "skipped" is output. When the request execution result is an error, "failed" is output.  
login Output login for input that failed in the processing.  
box_folder_path Output box_folder_path for input that failed in the processing.  
status_code If the result is "failed", an HTTP status code is output from Box.  
error_code If the result is "failed", an error code that identifies the error contents is output.  
message An error message is output.  
request_id If the result is "failed", the ID that uniquely distinguishes the request relative to Box is output.  

Loading Schema on Mapper

The schema is loaded automatically.
For details, refer to "Edit schema".

Mass Data Processing

Mass data processing is not supported.

Transaction

Transaction is not supported.

PSP Usage

PSP is not supported.

Available Component Variables

Component variable name Description Remarks
succeeded_count The number of times that input was successful in the processing is stored.
  • The default value is "0".
failed_count The number of times that input failed in the processing is stored.
  • The default value is "0".
skipped_count The number of times that input that was skipped in the processing is stored.
  • The default value is "0".
message_category When an error occurs, the category of the message code corresponding to the occurred error is stored.
  • The default value is null.
message_code When an error occurs, the code of the message code corresponding to the occurred error is stored.
  • The default value is null.
message_level When an error occurs, the severity of the message code corresponding to the occurred error is stored.
  • The default value is null.
error_type When an error occurs, the type of an occurred error is stored.
  • The default value is null.
  • The error type will be in the following format.
    Example: "java.io.FileNotFoundException"
  • The contents to be stored may vary depending on the version of DataSpider Servista.
error_message When an error occurs, the message of the occurred error is stored.
  • The default value is null.
  • The contents to be stored may vary depending on the version of DataSpider Servista.
error_trace When an error occurs, the trace information of the occurred error is stored.
  • The default value is null.
  • The contents that will be stored may vary depending on the version and client applications of DataSpider Servista.

Specification Limits

Major Exceptions

Exception Name Cause Solution
ResourceNotFoundException
Resource definition is not found. Name:[]
[Destination] is not specified. Specify a value for [Destination].
ResourceNotFoundException
Resource definition is not found. Name:[<Name of global resources>]
Resource definition selected in [Destination] is not found. Check the global resource specified in [Destination].