activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 21, 2024

GetFolder

Gets a folder from OneDrive or SharePoint.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

Assembly: UiPath.MicrosoftOffice365.Activities.Api (in UiPath.MicrosoftOffice365.Activities.Api.dll)

Overloads

OverloadDescription
GetFolder(String)Gets a folder from OneDrive or SharePoint by Url.
GetFolder(IFolder, String)Gets a folder from OneDrive or SharePoint by relative path.
GetFolder(String, String, String)Gets a folder from OneDrive or SharePoint by ID.

GetFolder(String)

Gets a folder from OneDrive or SharePoint by Url.
IFolder GetFolder(
	string url = null
)IFolder GetFolder(
	string url = null
)
url String (Optional)
The Url of the folder of interest. If left empty, will return the root folder.

GetFolder(IFolder, String)

Gets a folder from OneDrive or SharePoint by relative path.
IFolder GetFolder(
	IFolder parent,
	string relativePath
)IFolder GetFolder(
	IFolder parent,
	string relativePath
)
parent IFolder
The parent folder.
relativePath String
The relative folder path to the parent folder including the name.

GetFolder(String, String, String)

Gets a folder from OneDrive or SharePoint by ID.
IFolder GetFolder(
	string id,
	string siteUrl,
	string libraryName
)IFolder GetFolder(
	string id,
	string siteUrl,
	string libraryName
)
id String
The ID of the folder of interest.
siteUrl String
The Url of a SharePoint site.
libraryName String
The document library within the specified SharePoint site.

Return value

IFolder - The folder retrieved.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.