shareplum icon indicating copy to clipboard operation
shareplum copied to clipboard

how to get metadata of file placed in a particular folder for example the approval status of the file

Open tejassumbha71 opened this issue 5 years ago • 1 comments
trafficstars

Need to fetch the approval status of the file placed in particular folder

tejassumbha71 avatar Jun 05 '20 12:06 tejassumbha71

This should be possible by treating the folder as a list and using the list.GetListItems() method:

folder_list = site.List('Test',exclude_hidden_fields=False)
Fields=['ID','Approval Status']
folder_items = (folder_list.GetListItems(fields=Fields))
print(folder_items)

benkean avatar Jul 16 '20 22:07 benkean