UiPath Documentation
activities
latest
false
Productivity activities

GetItem

Retrieves a single SharePoint List Item by its ID.

Retrieves a single SharePoint List Item by its ID.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Syntax​

DataRow GetItem(
	ISharepointList list,
	string itemId,
	IEnumerable<string> columns = null
)
DataRow GetItem(
	ISharepointList list,
	string itemId,
	IEnumerable<string> columns = null
)

Parameters​

list ISharepointList : The SharePoint list from which to retrieve the item.

itemId String : The ID of the item to retrieve.

columns IEnumerable<String> (Optional) : A list of column names to be retrieved. If omitted all known editable user columns will be fetched.

Return value​

DataRow - The SharePoint list item as a DataRow, or null if not found.

  • Syntax​
  • Parameters​
  • Return value​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated