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 ...
  • gancw1's avatar
    2 years ago

    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.