Upload document

Operation name

Upload document

Function overview

Uploads documents to SharePoint.

Data model

The data model of this component is table model type.

Properties

= Remarks =

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.

 

Required settings

Item name

Required/Optional

Use of variables

Description

Remarks

Connections

Required

Not available

Select a connection resource.

Add

A new connection resource can be added.

Edit list

Connection resource settings can be edited in > HULFT INTEGRATE > Connections.

 

authentication connection

Required

Not available

Select an Auth resource to use for authentication.

An Auth connection is required to use this operation.

Storage path

Required

Available

Enter the storage path of the upload source.

The Browse button launches a file chooser that allows you to select a file.

  • When a file is specified, the specified file is uploaded.

  • When you want to specify a folder, either enter the whole path directly, or select a file that is directly under the folder and then erase the file name from the path.

    When a folder is specified, files in the specified folder are uploaded.

    In addition, if recursive search is enabled, files in folders within the specified folder are also uploaded.

Specify an absolute path of HULFT Square Storage for the file path.

The restricted characters of HULFT Square Storage except for path separator "/" can't be used.

If the file path includes restricted characters, perform processing such as conversion in advance.

recursive search

Optional

Not available

When a folder is specified for the storage path, if this item is enabled, files in folders within the specified folder are also uploaded.

 

library name

Required

Available

Enter the document library name of the upload destination.

When folder path is not entered, the upload destination is directly under the library.

 

folder path

Optional

Available

Enter the folder path of the upload destination.

If this item is not entered, the upload destination is directly under the library that is specified for the library name.

Specify an existing folder path.

Overwrite

Optional

Not available

When Overwrite is selected and a file with the same name exists in the path of the upload destination, the file is overwritten when uploading.

When this item is not selected and a file with the same name exists in the path of the upload destination, an error occurs.

Property actions

Item name

Required/Optional

Use of variables

Description

Remarks

Connection test

Optional

Not available

You can connect to SharePoint Online using connection information and authentication connection information.

This can be used when connection and authentication connection are specified.

Search library name

Optional

Not available

You can obtain a document library name on the SharePoint site and set it in library name.

This can be used when connection and authentication connection are specified.

Search folder paths

Optional

Not available

You can obtain a folder path in the library with the specified library name and set it in folder path.

This can be used when connection, authentication connection, and library name are specified.

The results on which recursive search is performed are obtained whether recursive search information is enabled or disabled.

Schemas

Input schema

None.

Output schema

<?xml version="1.0" encoding="UTF-8" ?>
<table>
<row>
<column>result</column>
<column>from_file_path</column>
<column>to_file_path</column>
<column>error_class</column>
<column>error_message</column>
</row>
<row>
…
</row>
</table>
</pre>

Element name

Label

Description

row

-

Repeats for the number of processed file paths.

column

result

When the processing succeeds, "succeeded" is output. When it fails, "failed" is output.

from_file_path

The file path of the upload source is output.

to_file_path

The file path of the upload destination is output.

error_class

When an error occurs in the upload processing, the class name of the error that occurred is output.

error_message

When an error occurs in the upload processing, a message regarding the error that occurred is output.

Loading schema in Mapper

The schema is loaded automatically.

= Remarks =

For details, refer to Edit Schema.

Mass data processing

Mass data processing isn't supported.

Transaction

Transaction isn't supported.

Parallel Stream Processing

PSP isn't supported.

Available component variables

Component variable name

Description

Remarks

succeeded_count

The total number of processed items for which an error didn't occur is output.

  • The default value is 0.

failed_count

The total number of processed items for which an error occurred is output.

  • The default value is 0.

message_category

When an error occurs, the category of the message code corresponding to the error is stored.

  • The default value is null.

message_code

When an error occurs, the code of the message code corresponding to the error is stored.

  • The default value is null.

message_level

When an error occurs, the severity of the message code corresponding to the error is stored.

 

  • The default value is null.

error_type

When an error occurs, the error type is stored.

  • The default value is null.

error_message

When an error occurs, the error message is stored.

  • The default value is null.

error_trace

When an error occurs, the trace information for the error is stored.

  • The default value is null.

Message codes, exception messages, and limitations

Connector

Message code

Exception message

Limitations

Messages and limitations of the SharePoint connector

check

check

check