shareplum
shareplum copied to clipboard
how to get metadata of file placed in a particular folder for example the approval status of the file
trafficstars
Need to fetch the approval status of the file placed in particular folder
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)