Customizing icons
This is an administrator-level activity.
In the application interface, document and container, or folder, types are identified by
icon images as well as by text. By editing configuration files, you can modify the current icon mapping to object types, or add new mappings for new object types.
To map icons:
- If you are adding new icon image files, perform the following steps:
- Copy any new icon images to the application folder. By default, existing icons are located in the <application>//images/mime folder, where application is the name of the web application, usually Workplace or WorkplaceXT. If you customize icons or create new mappings, you can create a new folder under the main application folder so that the icons are not overwritten during a subsequent upgrade.
- Redeploy the application.
- Edit the configuration files. Make sure you back up the configuration files before modifying
them.
- To map icons to document types, select the file for your application:
- Workplace XT: <XT_install_path>/FileNet/Config/WebClient/icons.properties
- Workplace: <AE_install_path>/FileNet/Config/AE/icons.properties
- To map icons to container types, select the appropriate file for your application:
- Workplace XT: <XT_install_path>/FileNet/Config/WebClient/containericons.properties
- Workplace: <AE_install_path>/FileNet/Config/AE/containericons.properties
- Add or modify the key-value pairs as needed. There can be multiple references to an icon image. Each key/value pair uses the following format:
<mime_type>=<path>/<image_prefix>
where
mime_type = The mime type name and subname associated with the object.
path = The path to the images, starting from the application folder.
image_prefix = The prefix used for the mime type icons. Two image files are required for each mime type, a small one (16x16 pixels)
and a large one (32x32 pixels).
For example, in the following line, the Microsoft® Word mime type
is mapped to icon files that start with
"Doc." The value includes the path to the icon files: images/mime
.
Therefore, for Workplace you'll find the Word mime type icon files,
Doc16.gif and Doc32.gif, in Workplace/images/mime.
application/msword=images/mime/Doc
- Reload the configuration files to avoid restarting the application server.