Discussion
TCS
GB
Last activity: 23 Jul 2015 3:07 EDT
embed a report on a portal
What is the best way to embed a report on a portal. Is it displaying in a repeating grid or is there any other way to do that. I do not want the chart but i want the details like a list view. In the repeating grid i have to map the properties in the section one by one and i want to avoid that.
-
Like (0)
Dhanushka Udayanga Mohammed sofiyaan -
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Hello,
Please accept our apologies for the delayed response. I've submitted to your query to subject matter expert(s) in the hope we can get you an answer soon. Someone will check back on this post in the next 24-48 hours to see if the SME has responded. Thank you for your patience.
Kind regards,
Bob Lloyd
PDN and Pega Academy Self-study Forums Support Team
Tech Mahindra
IN
Hi Bob, I have the same Question, It would be great if you can get us the answer ASAP. Thanks!
Pegasystems
IN
In repeat grid on Pega 7, there is an option to create grid dynamically where you do not have to configure the columns. When that option is chosen, based on report metadata, grid is rendered at with column configurations taken from report at runtime.
Hope this helps
Verramobility
US
Hi Srikanth... Could you please help me out in finding the above(create grid dynamically) option while creating a section...
NIIT Technologies Limited
AU
There is a checkbox 'Create grid dynamically' on the grid configuration.
Areteans Technology
IN
https://community.pega.com/sites/default/files/help_v718/procomhelpmain.htm
This link should help you more. Remember the grid would be tightly coupled with RD. any changes to RD will be seen in the GRID at runtime. People are misguided sometimes that it will allow to design my grid quickly in design time and future changes in RD will not effect the UI.
Thanks,
Ashok
Verramobility
US
Thanks alot Ravi and Ashok ...
In my case the display fields are not static as described in the RD. I have to generate report on demand basis that means User will select the list of display fields like out of 100 odd fields user may wish to see the data for 10,20,25...etc. Because of this i m trying leverage dynamic grid features.
Pegasystems
IN
if your column list if configurable, try virtual rd option.
Verramobility
US
No Srikanth, I cannot add them as a display fields in report definition...
Pegasystems
IN
yes, thats when you use virtual RD. You basically start with a template report(do obj-open of that template report and have that metadata handy) which has a few list fields and filters and let the user choose the fields he wants or he can add to them. Once you have the fields, you just add them to pyUIFields of the report metadata and pass that page to grid. Instead of a saved version of RD, you now have a virtual RD and you can save that page into a data record and customize it per user/ access group or in any way you please.
Verramobility
US
Thanks Srikanth,
But in my case i added required fields to "ReportPage.pyUI.pyBody.pyUIFields"and referred ReportPage as virtual report defimnition at grid. But still its taking the display fields from report definition rule only not referring to the fields added by me ....
Pegasystems
IN
if the page is missing at runtime, then we default to the report mentioned in the property panel. Did you check if ReportPage exists at runtime in the same thread ? Is reportPage of pxObjClass ="Rule-Obj-Report-Definition"?
Virtusa
IN
NA
Verramobility
US
yes i checked it... its with required class only....page is there with above added fields....
Pegasystems
IN
Can you post screenshots showing your design time configuration, clipboard viewer showing the page after the section is rendered at runtime.
Did you check the "Virtual RD grid" example in UI gallery? It pretty much does the same thing that you are trying to do. It allows adding/removing columns etc. You can reuse that example.