Adding Custom File Types With the .NET Interface Editor
When you want to change the icon appearing for search results of a specific file type, you can define a custom file type and associate the desired icon.
Note: Custom file types must first be defined in the Administration Tool (see Modifying How CES Handles a Document Type).
To add a custom file type with the .NET Interface Editor
-
Access the Coveo .NET Front-End Interface Editor (see Opening the .NET Interface Editor).
-
Select the Miscellaneous tab, and then select Custom File Types in the navigation panel on the left.
-
Click Add New.
-
Under Edit Custom File Type:
-
In Name, enter a descriptive name for the file type.
-
In Value of @sysfiletype field, enter the extension of the appropriate file type.
Example: For a Microsoft Word file you would enter docx.
-
In the Icon Uri box, enter the path for the icon file. You can specify the full path in the [site_address]/[path]/[image_file] form or the relative path from where the search interface page is stored.
Examples:Absolute path: http://mysite.com/images/icon-people.png
Relative path: /Coveo/Skins/MyInterface/icon-people.png
-
Click OK.
-
-
Under Custom File Types, you can delete custom formats by selecting them and clicking Delete.