SDK - Excluding the extra output formats MHT and layoutDataXML from the searchPath in a request for Report output in SDK Application code.

Technote (FAQ)


These formats can be created by selecting in the Properties Page for the Report the Advanced Options "Enable enhanced user features in saved output version" is selected.

How can these extra formats be filtered out on an SDK code request ?


Use a search path filter.
This search path will exclude MHT and layoutdataXML format outputs:

/content/folder[@name='test']/reportView[@name='Report View of Product Description List']//output[@format != 'MHT' and @format !='layoutDataXML']

For more information refer to the chapter Search Path Syntax in the IBM Cognos Software Development Kit Developer G.

Document information

More support for:

Cognos Business Intelligence
Software Development Kit

Software version:

10.1, 10.1.1, 10.2, 10.2.1

Operating system(s):

AIX, HP-UX, Linux, Solaris, Windows

Software edition:

Edition Independent

Reference #:


Modified date:


Translate my page

Content navigation