This discussion is archived
0 Replies Latest reply: Feb 22, 2013 3:25 AM by Basaw RSS

Dynamic Columns in RTF template

Basaw Newbie
Currently Being Moderated
Hi Team,

I am creating one rtf template and wants to generate output in below format.
I am going to pass parameter as level and based on that report should display multiple columns into excel output.
Suppose If i enter level =3 then report should be look like that..

Level -1 Level-2 level-3

Name Emp_Num Job Position Name Emp_Num Job Position Name Emp_Num Job Position

If I enter level=4 then it should display 4 more columns containing employee info, But when i am trying to do that, it is just repeating Name column but not the other once. Please check below xml

ORG_CHART_REPORT>
<EFFECTIVE_DATE>22-FEB-13</EFFECTIVE_DATE>
<HIERARCHY>Supervisor Hierarchy</HIERARCHY>
<SUPERVISOR_NAME>孟宪瑞</SUPERVISOR_NAME>
<LEVEL>3</LEVEL>
- <LIST_HEADER>
- <HEADER>
<NAME>Name</NAME>
<EMP_NUMBER>Employee Number</EMP_NUMBER>
<ORGANIZATION>Organization</ORGANIZATION>
<JOB>Job</JOB>
</HEADER>
- <HEADER>
<NAME>Name</NAME>
<EMP_NUMBER>Employee Number</EMP_NUMBER>
<ORGANIZATION>Organization</ORGANIZATION>
<JOB>Job</JOB>
</HEADER>
- <HEADER>
<NAME>Name</NAME>
<EMP_NUMBER>Employee Number</EMP_NUMBER>
<ORGANIZATION>Organization</ORGANIZATION>
<JOB>Job</JOB>
</HEADER>
</LIST_HEADER>

the synatax i m using into Header is like <?split-column-data:HEADER?><?NAME?>.

kindly guide me how to resolve this issue.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points