Page structure view

This recipe will show you another view/option available in Cognos Report Studio to examine and edit the reports.

Getting ready

We will use the same report used in the last recipe for this.

How to do it...

  1. Open the report in Report Studio and go to the report page.
  2. From the menu, choose View | Page Structure.
    How to do it...
  3. You will see the report page transforms into a tree-type list object.
    How to do it...
  4. Open different nodes and examine the objects.

How it works...

As you know, the report definitions in Cognos Report Studio are nothing but XML files. The report objects, Page, List, Columns, and so on are all stored internally as nested tags.

By switching to Page Structure view, you can actually see how the objects are contained within each other and are inter-related. You can select any object (for example, List Columns Body Style) and manipulate its properties. You can also delete them, copy the objects and paste them in another place, and move them around within the rules governed by Cognos Report Studio.

This is a great way to examine and manipulate some report objects that are not directly visible in the normal view. We had mentioned in the 'Report Studio Environmental Options' recipe that when you hide some objects on the report page, and if the hidden items are not made visible by changing the environment options, then the only way to select and manipulate them is to do it from Page Structure View.

I would recommend that you familiarize yourself with this view. Do some browsing, copying / deleting of objects, and try changing properties of some objects. Later, you can go back to the normal view by selecting View | Page Design from the menu.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset