SharePoint

SharePoint is a web-based collaborative platform that integrates natively with Microsoft Office. Launched in 2001, SharePoint is primarily sold as a document management and storage system, but the product is highly configurable and its usage varies substantially among organizations. (Wikipedia)

To use this component, MFA(Multiple Factor Authentication) should be disabled. Otherwise, the authentication will fail. (https://www.spguides.com/microsoft-has-enabled-security-defaults-to-keep-your-account-secure/

Input

Attribute
Description

Domain

Sharepoint domain ??? ex) xnarum214.sharepoint.com

User

Sharepoint user ??? ex) [email protected]

Password

Password

SiteUrl

Site url under the domain ??? ex) /sites/TeamSite

Action

Actions to be performed.

· File

o Upload

o Download

o Move

o Delete

· Folder

o Create

o Delete

o Move

Source Folder Name

Sharepoint folder

Target Folder Name

Sharepoint folder

Source File Name

Source file

· The file on Sharepoint to be downloaded.

· The local file to be uploaded

Target File Name

Target file

The local file name to be downloaded.

Output

Attribute
Description

OutFile

Source file for upload operation

Target file for download operation

OutFolder

Source folder for upload file, download file, and create folder operations.

Target folder for move file and move folder operations.

Example

If a user has three sites like this. xnarum214 is the domain of these sites.

And CommSite has these folders.

Upload a file to a folder

Input properties of this operation are these.

Attribute
Description

Domain

xnarum214.sharepoint.com

Password

******

SiteUrl

/

Action

Upload file

Source Folder Name

/Shared Documents/first-folder

Target Folder Name

Source File Name

/home/myuser/my-file.dat

Target File Name

Download a file

Input properties of this operation are these.

Attribute
Description

Domain

xnarum214.sharepoint.com

Password

******

SiteUrl

/

Action

Download file

Source Folder Name

/Shared Documents/first-folder

Target Folder Name

Source File Name

/remote-file.dat

Target File Name

/home/myuser/my-file.dat

Move a file

Input properties of this operation are these.

Attribute
Description

Domain

xnarum214.sharepoint.com

Password

******

SiteUrl

/

Action

Download file

Source Folder Name

/Shared Documents/first-folder

Target Folder Name

/Shared Documents/second-folder

Source File Name

my-file.dat

Target File Name

Create a folder

child-folder will be created under existing parent-folder. Input properties of this operation are these.

Attribute
Description

Domain

xnarum214.sharepoint.com

Password

******

SiteUrl

/

Action

Create folder

Source Folder Name

/Shared Documents/parent-folder/child-folder

Target Folder Name

Source File Name

Target File Name

Delete a folder

child-folder under parent-folder will be deleted. Input properties of this operation are these.

Attribute
Description

Domain

xnarum214.sharepoint.com

Password

******

SiteUrl

/

Action

Delete folder

Source Folder Name

/Shared Documents/parent-folder/child-folder

Target Folder Name

Source File Name

Target File Name

Move a folder

child-folder under parent-folder will be moved to grand-folder. Input properties of this operation are these.

Attribute
Description

Domain

xnarum214.sharepoint.com

Password

******

SiteUrl

/

Action

Create folder

Source Folder Name

/Shared Documents/parent-folder/child-folder

Target Folder Name

Shared Documents/grand-folder/child-folder

Source File Name

Target File Name

Last updated