Product DocsMenu

Adding Custom File Types With the .NET Interface Editor

The out-of-the-box Coveo .NET Front-End search interfaces come with icons for common file types. The appropriate icon appears in front of a search result to help users more easily identify the file type for each result. When a file type is unknown, a default icon is used.

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

  1. Access the Coveo .NET Front-End Interface Editor (see Opening the .NET Interface Editor).

  2. Select the Miscellaneous tab, and then select Custom File Types in the navigation panel on the left.

  3. Click Add New.

  4. Under Edit Custom File Type:

    1. In Name, enter a descriptive name for the file type.

    2. In Value of @sysfiletype field, enter the extension of the appropriate file type.

      Example: For a Microsoft Word file you would enter docx.

    3. 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.


      Absolute path:

      Relative path: /Coveo/Skins/MyInterface/icon-people.png

    4. Click OK.

  5. Under Custom File Types, you can delete custom formats by selecting them and clicking Delete

People who viewed this topic also viewed