UiPath Documentation
activities
latest
false
Productivity activities

GetFolder

Gets a folder from OneDrive or SharePoint.

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?

Connect

Need help? Support(opens in new window)

Want to learn? UiPath Academy(opens in new window)

Have questions? UiPath Forum(opens in new window)

Stay updated