Activities
latest
false
Productivity Activities
Last updated Jun 3, 2024

GetItem

Gets a file or folder from OneDrive or SharePoint.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Overloads

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

GetItem(String)

IDriveItem GetItem(
	string url
)IDriveItem GetItem(
	string url
)
url String
The Url of the file or folder of interest.

GetItem(IFolder, String)

IDriveItem GetItem(
	IFolder parent,
	string relativePath
)IDriveItem GetItem(
	IFolder parent,
	string relativePath
)
parent IFolder
The parent folder.
relativePath String
The relative file or folder path to the parent folder including the name and extension.

GetItem(String, String, String)

IDriveItem GetItem(
	string id,
	string siteUrl,
	string libraryName
)IDriveItem GetItem(
	string id,
	string siteUrl,
	string libraryName
)
id String
The ID of the file or folder of interest.
siteUrl String
The Url of a SharePoint site.
libraryName String
The document library within the specified SharePoint site.

Return value

IDriveItem - The file or 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.