OneDrive FilePicker cannot set filter with uppercase

20 Views Asked by At

I'm currently working on a project that is using the OneDrive filepicker v7.2

I would like to limit the file selection by setting a filter when open up the filepicker. The file extension that I would like to set is .ttf, .TTF. However, when it is applied, it cannot filter by the uppercase extension.

How can I achieve to filter with uppercase?

var odOptions = {
   clientId: "INSERT-APP-ID-HERE",
   action: "query",
   multiSelect: false,
   advanced: {
      queryParameters: "select=id,name,size,file,folder,photo,@microsoft.graph.downloadUrl",
      filter: ".ttf,.TTF" 
   }
}

onedrivefile

0

There are 0 best solutions below