Skip to main content
Solved

Getting File item all fields from SharePoint

  • March 2, 2025
  • 2 replies
  • 94 views

Forum|alt.badge.img+1

Hi,

I am able to connect to sharepoint and download the files from a specific folder. Along with the file i need to create a metadata file which has to extracted from sharepoint. 

I am able to list all files using GetFiles, it returns a dictionary list, but this dictionary doesn’t have all the fields data (custom fields).

I was trying with GetListsItems but, it required List name and item id. is there any other way to get metadata from files while listing the files.

 

Thanks,

Sarath.

Best answer by Aaron.Gleason

Looks like Microsoft’s Graph API will get you those custom fields, but the regular API (that our package is probably based upon) doesn’t support that.

https://stackoverflow.com/questions/45964537/get-custom-fields-from-sharepoint-list-item

2 replies

Aaron.Gleason
Automation Anywhere Team
Forum|alt.badge.img+14
  • Automation Anywhere Team
  • Answer
  • March 3, 2025

Looks like Microsoft’s Graph API will get you those custom fields, but the regular API (that our package is probably based upon) doesn’t support that.

https://stackoverflow.com/questions/45964537/get-custom-fields-from-sharepoint-list-item


Forum|alt.badge.img
  • Cadet | Tier 2
  • April 1, 2025

hello ​@sarathbabuk - you want to get file details from SharePoint folder structure

or

trying to get details of files uploaded to SharePoint list?