Question

2
Replies
236
Views
ChakriP8 Member since 2014 62 posts
Accenture
Posted: 11 months ago
Last activity: 11 months 2 weeks ago

Convert any ClipBoard Class Page into pxResults Type

I have a requirement to display Charts and Graphs. I have looked at the PEGA OOTB UI section 'pxUIGalleryHorizontalStackedBarChart' and this is using the DataPage 'D_pzChart_PreviewSkinData' which in turn is loaded by an Activity 'pzChart_SkinPreviewData'.

The activity is a one line activity which is the following Java Code

com.pega.pegarules.priv.ui.skin.preview.chart.GenerateChartPreviewData.generatePreviewData(tools.getStepPage().getProperty(".pxResults"));

This implies that as long as the underlying data-structure or the clipboard structure is of pxResults type, the UI Graphs and Charts should be visible.

My questions are as follows.

1. PEGA Graphs and Charts will display IF and ONLY IF the data to be displayed is of type pxResults.

2. Does the load activity for the Datapage HAVE be in Code-Pega-List class?

3. Is there any generic way to convert any class/pagelist into a pxResults class?

***Edited by Moderator Marissa to update platform capability tags****

Low-Code App Development Data Integration User Interface
Share this page LinkedIn