Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Examples and how to

How to modify file icons what M-Files classic web is showing?

Last updated on 21 June 2022

Admin
M-Files Desktop

Overview
 

By default, M-Files Classic Web does not show icons for all file types. For example, files with xlsm extension are shown without an icon.
 

Solution

To specify an icon for file extensions that don't have an icon associated with them:

  1. Open the "filetype.txt" file in a text editor. The file is located in

C:\Program Files\M-Files\_mfilesversionnumber_\Server\MFWA\Icons\Filetype.

  1. Add the required file extension to the correct section of the file.
  2. After you have made the required changes, save the file.
  3. Restart "World Wide Web Publishing Service" Windows service on the IIS server.
NOTE: Restarting "World Wide Web Publishing Service", will cause small service break for M-Files classic web users.
NOTE: M-Files server version upgrade will clear all configuration changes made under folder C:\Program Files\M-Files\_mfilesversionnumber_\Server\MFWA. After M-Files server version upgrade, "filetype.txt" needs to be updated again.

Example:

In this example, we have added xlsm into "spreadsheet" section. This way, xlsm files will get the same icon as ods, xls, xlsx and xlt extensions.


image.png

Still need help?