How can I get the file name of an image from a SharePoint 2013 Asset Library?
I am trying to write a JQuery/REST snippet to search a subset of images within the library, based on their other column values and display them. I would use FileLeafRef
in case of a Document Library, but I couldn't find an equivalent field in Asset Library.
I so far tried the following, neither returns file name: https:///crm/_api/Web/Lists/GetByTitle('Publication%20List')/items?select=File/Name&expand=File https:///crm/_api/Web/Lists/GetByTitle('Publication%20List')/items?select=FileLeafRef