Start of Content Area

Procedure documentation Adjusting Mime Handler Service Properties  Locate the document in its SAP Library structure

Use

You use the MIME handler service to determine the type of MIME documents and to associate different document icons with different document types. Before using non-standard file extension types in CAF, you calculate CAF attachments of type MIME with the help of the global portal service MimeTypeHandler.

Procedure

       1.      Logon to the SAP NetWeaver Portal with http://<host>:<port>/irj.

Remember to replace <host> and <port> with the machine name of the portal you are using.

       2.      Go to System Administration ® System Configuration ® Knowledge Management ® Content Management ® Utilities ® MIME Types.

Example

You can modify existing group or define new ones. For example if you want .log files to be recognized as plain text files, you create a new group, and set its name as logFiles, the extension as log and mime type as plain/text.

Caution

CAF versions prior to CAF 7.0 SP7 used Web Dynpro classes to define MIME type to upload documents. As a result, MS Word documents had the type application/vnd.ms-word. Beginning with CAF 7.0 SP7, CAF uses SAP NetWeaver Portal routines and the documents have the type application/msword. Both types are valid; however, only the latter type is accepted by TREX by default. As result, MS Word documents cannot be found.

Add the string application/vnd.ms-word to the configuration file: \usr\sap\<a trex instance name 1>\<a trex instance name 2> \<hostname>\TREXValidMimeTypes.ini.

See also:

Mime Handler Service (KM documentation)

End of Content Area