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

Technote (FAQ)


Question

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 ?

Answer

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.

Rate this page:

(0 users)Average rating

Add comments

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 Itanium, HP-UX, Linux, Solaris, Windows

Software edition:

Edition Independent

Reference #:

1673005

Modified date:

2014-08-12

Translate my page

Machine Translation

Content navigation