Forum Discussion

gancw1's avatar
gancw1
Icon for Resolver II rankResolver II
2 years ago
Solved

Load Excel file attachment directly from SharePoint online lists

I am trying to do this by extracting the attachment URLs and calling Web.Contents( ) to extract the Excel tables.  However PQ does not allow multiple calls to the same API - in this case an API call to retrieve the Sharepoint list and another call to get the attachments.

 

Another post mentions a workaround that uses PowerApp to push the attachments to a Sharepoint Library. 

Solved: Re: Load data from Excel file attachment in ShareP... - Microsoft Fabric Community


Is there a way to acheive this without needing to use Power App to push attachments to a library ?

 

Thanks

 

 

 

  • I managed to overcome the error by using SharePoint.Contents( ) to directly access all the attachments in the list

     

    I can now expand the Attachments table and then use Excel.Workbook( ) to read in the Excel content from all the attachments.

4 Replies