How to Configure the Document Lookup Table

When downloading document objects, the document format lookup table is used to look up file extensions. Many browsers require file extensions to determine which program to use to open the downloaded file. If the name of the downloaded file does not end with the expected extension, the portal will append one based on the document lookup table, found in the C:\Program Files\COGNOS\c8\templates\ps\system.xml file. You can attach another application to a specific extention.

The following example shows the already configured document format code:

<param name="documentFormats">
<format id="application/vnd.coc-wd" extension="doc"/>
<format id="application/vnd.coc-xl" extension="xls"/>
<format id="application/vnd.coc-pp" extension="ppt"/>
<format id="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" extension="xlsx"/>
<format id="application/vnd.openxmlformats-officedocument.presentationml.presentation" extension="pptx"/>
<format id="application/vnd.openxmlformats-officedocument.wordprocessingml.document" extension="docx"/>
</param>

www.cogknowhow.com