Need to Upload and download an attachment to a sharepoint list item in windows project

Hi Team,

Can someone help me to Upload and download attachment to a share point list item in windows prject(not windows legacy). The existing activities are working only for Windows_Legacy projects.

@Shaik.Yezdani

In windows only office365 activities are supported

And they dont have builtin activity for upload nor download from sharepoint list item

One work around is to use graph api directly using http request to modify the sharepoint listitem

Ele upload to the file to sharepoint and add the location in sharepoint list item

Cheers

Hi @Shaik.Yezdani

—To upload and download attachments to a SharePoint list item in a Windows project (not Windows_Legacy), first, install the UiPath.SharePoint.Activities package. Use the SharePoint Upload File activity to upload, providing the Site URL, Library Name, Item ID, and the file path.

—To download an attachment, use the SharePoint Download File activity, setting the Site URL, Library Name, Item ID, and the destination path. These activities work in modern projects, unlike in Windows_Legacy.

If this information is helpful, please mark as solution. Thanks

@prashant1603765 we don’t have any Upload and downloadfile activities in windows Sharepoint activities

Hi @Shaik.Yezdani
First go to manage package and install package and configure. then you can see all SharePoint related activities.

Hi @Shaik.Yezdani,

There are no activities in sharepoint package for windows project.

For that, you will have to switch to Office 365 package to interact with sharepoint.

However, in that package also, there is no activity available to interact with attachment for list items directly.
I am also struggling to find a way to handle the same. We are also in touch with UiPath team for same. If you are also on enterprise version, I would suggest to raise a support ticket to UiPath on same.

In the meanwhile, Give a try to access sharepoint via rest API and see if that works. Or may be staying with legacy would be a good option until you find a way to access list items in windows project.

Regards
Sonali