Posted: 24 Mar 2015 13:12 EDT 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.
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.
PDN and Pega Academy Self-study Forums Support Team
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.
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.
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.
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.
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 ....
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"?