BI Publisher (MOSC)

MOSC Banner

BI Publisher - RTF Template and Global Variable scope Header/Body/Footer

edited Jun 5, 2015 12:30AM in BI Publisher (MOSC) 8 commentsAnswered

Hi,

I'm working on a BI Publlisher 10g Desktop RTF report, and the requirement is to display conditional footer section based on the group data.

This report contains 2 Groups:

1. Master records

2. Detail records

I've created a few variable to limit detail records/page and page breaks.

<?xdoxslt:set_variable($_XDOCTX, ‘counter’, 0)?>

<?xdoxslt:set_variable($_XDOCTX, ‘lines_page’, 30)?>

<?xdoxslt:set_variable($_XDOCTX, ‘tot_lines’, count(.//G_D30))?>

<?xdoxslt:set_variable($_XDOCTX,’remainder’,0)?>

Now the issue I'm facing is, when I try to display the Variable <?xdoxslt:get_variable($_XDOCTX, ‘counter’, 0)?> out of group and in footer section, it does not display the value for that specific Mater/Detail group record, but on second Master/Detail group record it display for the previous one. Which is wrong. Based on this counter value I need to change some other values in footer section.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center