Download Attachment from SharePoint List

Hi,

I have a SharePoint List that may have some attachments. I want to download them if attachment exists.
I use office365 activities.
I know how to download a file when it is save in SharePoint Library but I do not know how to do it for List item attachment

Here is a path to my SharePoint attachment
https://laCroste.sharepoint.com/sites/N1LaCroste/Lists/30ProcentTest/Attachments/1/Http%20premium.JPG

I have split these path to the following variables:

Here is picture of sequence:

I receive the following error:
image

Do you know how what am I doing wrong ?

Thank you in advance

@mateusz.wojcik

With the current office 365 activities capability…we cannot download an attachment from list…you have to explore other alternatives of using invoke code or a rest api to do so…

Here is a start point

You are getting itemnot found because …documents which you used a document library name is actually the name of document library and not a list…they are teo different things…

Under documents folder /document library you do not have a lists folder or so…

Cheers

Thank you @Anil_G,

I do have activity for dowloading SharePoint attachment. I want to find the way to do it via Office365.

Maybe it will be added in the update :slight_smile:

1 Like