Usage
Classic Report
Example nested report is based on emp
and dept
table.
- Create a new application
- Create a new page
- Create a
Classic Report
based on SQL query [1] - Create derivied column and configure it as follows:
- Change derivied column
Type
toLink
- Set
Target
toURL
- Set
URL
to<span class="fa fa-search"></span><span class="DEPTNO" style="display: none">#DEPTNO#</span>
- Set
Link Attributes
toclass="dept"
- Change derivied column
- Create new dynamic action and configure it as follows:
- Set
Event
toClick
- Set
Selection Type
tojQuery Selector
- Set
jQuery Selector
to.dept
- Set
Event Scope
toDynamic
- Set
Static Container (jQuery Selector)
tobody
- Set
- Create true action and configure it as follows:
- Set
Action
toUnited Codes Nested Reports [Plug-In]
- Set
Details query
to [2] - Set
Affected Elements > Selection Type
toReport
- Set
Affected Elements > Region
toClassic Report
defined in step 3. - (Not required) Adjust the plug-in behavior up to your needs using the plug-in attributes
- Set
- Save and run a page
[1] SQL Query (for step 3)
select * from dept
[2] SQL Query (for step 6.b)
select * from emp where deptno = '#DEPTNO#'