SharePoint o365 Activity : Get List Info

Hi ,

I need to understand the format of input provided to Get List Info activty to get the list from Sharepoint.

Do we need to pass the Relative URL of Sharepoint or Initial URL ? and what will be the ListTitleorID field?

1 Like

Hi @Shreya_Rao1

image

List title-name of the list or their id in string format
Site URL- Full URL of the SharePoint site

Hi @Shreya_Rao1

To use the Get List Info activity in UiPath, you will need to provide the following input:

  1. Site Address: This is the initial URL of the SharePoint site where the list is located.
  2. List Title or ID: This is the title or ID of the list you want to retrieve information for. You can find the title of a list by going to the list’s settings page and looking for the “List name, description and navigation” section. The ID of a list can be found by going to the list’s settings page and looking for the “List ID” section.

Regards,
Kaviyarasu N

Hi @Kaviyarasu_N ,

Can you ellaborate what does aList mean with respective the Sharepoint? like the list of files/folder in a particular folder?

Hi @Shreya_Rao1

The List Title or ID field should contain the title or ID of the list you want to retrieve information for.

For example, if the URL of the SharePoint site is https://mycompany.sharepoint.com/teams/sales and the list you want to retrieve information for is called “Sales Reports”, you would enter https://mycompany.sharepoint.com/teams/sales in the Site Address field and “Sales Reports” in the List Title or ID field.

Hi @Kaviyarasu_N ,

Thanks for Explainging.

For me Sign in to your account this is the sharepoint initial URL and there is 1 folder call “Test1” which i need to retrieve.

So I am giving similar input like you have explained before but I am getting below erro
Get List Info: Code: itemNotFound
Message: The specified list was not found
Inner error:
AdditionalData:
date: 2023-01-04T06:33:45
request-id: d2afb850-72aa-4b2a-8492-6ed919327e0e
client-request-id: d2afb850-72aa-4b2a-8492-6ed919327e0e
ClientRequestId: d2afb850-72aa-4b2a-8492-6ed919327e0e

Check these points for this error.

  • The list does not exist in the SharePoint site.
  • The list exists, but you do not have permission to access it.
  • There is a typo in the name of the list.
  • There is an issue with the connection to the SharePoint site.