Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 77 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Unable fetch the value of a Variable in RTF Header Section

Hello Community,
I am doing a set variable in rtf body <?xdoxslt:set_variable($_XDOCTX, 'vlang',0)?> and trying to get the value of same variable in Header of the body using <?xdoxslt:get_variable($_XDOCTX, 'vlang')?> what i noticed is the value set in the body is not getting printed in the header of the Report.
Any suggestion how to exchange variable data between Header and Body of RTF Template. Please advise
Thanks,
Sreedhar
Answers
-
Have your tried adding @section to the for-loop that refreshes the header.
Ex: <?for-each:G_1?> is changed to <?for-each@section:G_1?>.
Rgds,Kevin
0 -
Hi Kevin,
Thank You.
Actually i am trying to achieve the below and yes am using for <?for-each@section:G_1?>Based on above does the initialized variables in body say in iteration1 starts getting printed on the headers from iteration2 of the foreach loop. Is my understanding correct? if so Is there any possibility to explicitly refresh the headers post variable initialization in the body in the same iteration?
FYR
Regards,
Sreedhar
0 -
Put the set variable to 0 before the for-each@section:G_1.
Set the variable inside the G_1 loop.
In the header only use get.
Kevin
0