Showing posts with label XML. Show all posts
Showing posts with label XML. Show all posts

Thursday, March 11, 2010

OBIEE Report XML Structure Part 3

In part 2 I showed you the Columns structure, in this article I want to show you the filter structure

The {saw:filter} structure

image

To create filters OBIEE uses sawx epression engine. First it define the type:

image

Then the right side:

image

and left side:

image

For filters based on an other report it pretty much works the same:

image

Till Next Time

Monday, March 8, 2010

OBIEE Report XML Structure Part 2

In part I showed you the base structure. In this part I want to show you the Columns Structure:

image

The {saw:columns} Structure

image

The first inner tag is {saw:column} . The base tag contains the column formula, columnId and aggregation rule

This tag is divided into {saw:tableHeading}, {saw:columnHeading}, {saw:displayFormat}

image

The {saw:tableHeading} Structure

image

This allows you to set an alternative caption as table heading.

The {saw:columnHeading} structure

image

This allows you to set an alternative caption as column heading. Also the interaction on a column level (Ai when you click on the column heading) is set here.

the {saw:displayFormat} structure

This control the display format of the data cel:

image

This also control the dataformat:

image

Till Next Time

Friday, March 5, 2010

OBIEE Report XML Structure Part 1

Some time ago we did a project where we scripted the reports. The big problem is that the XML structure of the OBIEE reports isn’t very well documented. (At least we couldn’t find it, but if you have a good link please let me know!)

Base structure:

The most outer structure is are the {saw:reports} tags, together with the base structure you get something like:
image

The {saw:criteria} tag

The {saw:criteria} starts with the subjectArea subtag
The first inner tags are:
image
{saw:columns} Holding the columns information
{saw:filter} Holding the filter for the subject area
Next Time I will show the detailed columns and filter tags
Till Next Time