How to download an attachment to a list item - Sharepoint

Hey guys.
I have a problem.

How do I download a list item in Sharepoint?

The file to be downloaded is in a column, within a list.
It’s possible?

List address:

https://internalurl.sharepoint.com/sites/InternalNameOfSite/Lists/FORM_OUT/AllItems.aspx

ID is the primary reference of the item within the list.

HI @Jesse_Pereira_De_Oliveira

Check out the thread

Regards
Gokul

Hello,

Thanks.

That’s not the point, I can already manipulate items in a queue (Edit).

It turns out that there is, in this list, a column where the attachment (Excel file) of a form filled out in Sharepoint is saved. I need to download this file.

@Jesse_Pereira_De_Oliveira

To download a list item from a SharePoint list with UiPath, you can use the SharePoint REST API to access and download files from SharePoint.

CHEERS…!

@Jesse_Pereira_De_Oliveira

To download a file from a SharePoint list using UiPath, you can use the “Get List Items” activity to retrieve the item from the list, and then use the “Download File” activity to download the file from the URL provided in the list item.

Here are the general steps:

  1. Use the “Get List Items” activity to retrieve the list item you want.
  2. Extract the URL of the file from the list item.
  3. Use the “Download File” activity to download the file from the extracted URL.

You will need to configure these activities with the necessary SharePoint credentials and specify the list item you want to download. The details may vary based on your specific SharePoint setup, but this general approach should work for downloading files from a SharePoint list.

Please provide the list address, and I can give you more specific guidance based on your SharePoint setup.

CHEERS…!

@sai_gupta How would one extract URL name. I am unable to create it because it requires Source Doc ID which is not present anywhere in SP. Please advice!

Bom dia Jesse, tudo bem?

Você conseguiu resolver esse problema? Estou enfrentando o mesmo caso, a coluna Attachments(Arquivos) só retorna “True” ou “Falso”.