is there a new api for /maptoicon available?

Bronze Contributor


This one seems to missing a lot of file types, for examples mp4 and mp3. Where as when viewing these files types via a modern view they are all there.


Modern Library is using following image from a cdn, rather than /_layouts/...

<img class="FileTypeIcon-icon" title="mp4 File" src="" style="width:16px;height:16px;" data-reactid=".$page-0.$dfb9408b-716a-4afd-8fd7-6a936098bc3c.0.0.2.$0.0.0">


Ideally don't want to have to roll my own just to get some more files supported.

1 Reply

I'm saddened this was never answered :(