Rest to filter files using modified date
-
07-01-2021 - |
Question
I am using below api to get files in descending order of modified date, but it not working.
url = _spPageContextInfo.webServerRelativeUrl + "/_api/Web/GetFolderByServerRelativeUrl('EmployeeDocumentList/703079322')?$expand=Files/ListItemAllFields&$orderby=TimeLastModified desc";
Is there anything that I am missing over here?
Pas de solution correcte
Autres conseils
Internal name for Modified Item Date is Modified
.
Hence, your query should be:
url = _spPageContextInfo.webServerRelativeUrl + "/_api/Web/GetFolderByServerRelativeUrl('EmployeeDocumentList/703079322')?$expand=Files/ListItemAllFields&$orderby=Modified desc";
Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange