OBIEE 11g – Remove Border Around Section Prompt
Posted on April 13, 2011 by Paul McGarrick
Filed Under Answers, Dashboards, OBIEE 11g, Pivot Table
When splitting a chart or table into sections by dragging a column to the ‘prompts’ area, the default behaviour is for Presentation Services to apply a rather unsightly border around the column.
E.g. Doing this:

Results in this:

It seems there is no application setting to control the look and feel of this border so it’s up to us to hack it off ourselves with some CSS. After a bit of digging and inspecting the DOM I came up with this:
<style>
.PTPageControl { border:0px; padding:0px; }
.PTPageEmbedded { border:0px; }
</style>
Simply put the above snippet in a Static Text View on your page and tick the box for ‘contains HTML markup’. [Note that the border won't disappear in the compound layout builder, you will have to preview or put the report on a dashboard to see the change]
A more permanent, site-wide solution would be to modify views.css accordingly. I was wary of doing this without knowing the extent to which these 2 CSS classes are used throughout the application as a whole.
Comments
3 Responses to “OBIEE 11g – Remove Border Around Section Prompt”
Leave a Reply
Nice trick )
Hi,
Is it possible to align Revenue ( column header ) in centre as in 11G i am unable to place it in centre in case of Pivot.
Thanks,
Mohan
This worked nicely UNTIL we started testing with IE8. Our dashboard has a prompt for a date range that affects all pages on the dashboard. The affected dashboard page rendered fine initially. However, with the affected dashboard page selected, when trying to change the date range for the dashboard, IE clears out the page and reloads it, returning a message that it had to recover the page. And the change to the date range didn’t actually take.
Too bad. It worked great in Firefox 9.0.1! But we can’t afford to make tweaks that adversely affect other browsers.