UiPath Documentation
activities
latest
false

Productivity activities

GetItemsByIds

Retrieves specific SharePoint List Items by their IDs.

Namespace: UiPath.MicrosoftOffice365.Activities.Api

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

Syntax

DataTable GetItemsByIds(
	ISharepointList list,
	IEnumerable<string> itemIds,
	IEnumerable<string> columns = null
)
DataTable GetItemsByIds(
	ISharepointList list,
	IEnumerable<string> itemIds,
	IEnumerable<string> columns = null
)

Parameters

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

itemIds IEnumerable<String> : The IDs of the items 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

DataTable - The SharePoint list items retrieved as a dynamic DataTable.

  • Syntax
  • Parameters
  • Return value

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated