I have a checkbox for a graph/image/document . Upon checking the checkbox, I want to include that graph/image/document in a report while it won't be included if the checkbox is unchecked. How to do it??
I believe you can achieve this using custom section for Report Definition in Pega7 . Under Report Viewer tab, there is a option Display rows using custom section option, please check that option and configure the custom section.
You can configure the visible when condition in the section rule to hide / include the content. Please let me know if this helps?
Posted: 6 years ago
Posted: 4 May 2016 5:13 EDT
Santanu Bhattacherjee (Santanu)
Senior Manager, Cloud Engineering, Management Plane Services
When you want this checkbox to appear in your screen ? If you want it to appear even before the report data loads then you have to use the filter section and there use a flag property which can later control the display of the contents in the report body.
Otherwise, if you want the checkbox to be displayed along with the report data and then want your user to control the display ( by clicking checkbox etc ) then you can try what Gowrishankar Ramasamy has suggested.