I need to create an Insight that displays the average time an operator takes to complete an action.
The required historical data is available in the History-ABC-ABC3-Work-Orchestration class, specifically properties such as:
.pxTaskElapsedTime
.pyPerformActionTime
To achieve this, I created the following:
A Data Page D_PerformanceMetrics in the ABC-ABC3-Work-Orchestration class.
The Data Page is sourced from a Report Definition GetPerformanceMetricsList in the History-ABC-ABC3-Work-Orchestration class.
The Report Definition retrieves the required historical properties and data.
From App Studio, I created an Insight and selected D_PerformanceMetrics as the data source.
I configured the Insight to calculate/display the required performance metrics.
However, I am facing the following issues:
The Insight created from App Studio does not appear when I launch the Web Portal.
I am also unable to add this Insight to any of the available dashboards.
As an alternative, I tried creating the Insight directly from the Web Portal → Explore Data option. However, I cannot find the properties that are being populated by my Report Definition/Data Page.
Question
Is this behavior a known limitation in Pega Platform Infinity ’26.1 regarding Insights using a custom Data Page/Report Definition as the data source, particularly when the underlying data comes from a History-* class?
If so:
Is there a supported way to expose the fields returned by the Report Definition/Data Page to Explore Data/Insights?
Can a custom Data Page sourced from a Report Definition be used as a data source for an Insight that is consumable in the Web Portal and added to dashboards?
Is there a recommended alternative approach for this use case?
Once you start adding them here, you are telling the system to lock it down just to those objects, so if anyone has started adding to this list, it might not be visible.
However, as you are specialising OOTB rules, it does mean you need to assess this on updates to ensure we haven’t made any changes to it that you need to take.
It does also mention some other troubleshooting steps you may want to consider:
If your Data Page is valid, but still does not appear in the dropdown, consider the following options:
Ensure that the Index-DPParameters declare index is populated for your Data Page.
Ensure that the Index-DataSources declare index is populated for your Data Page.
Ensure that the number of results does not exceed the number specified in the pyGetDataPagesForInsightSource report definition on the Data Access tab. Otherwise, the system limits the number of results.
These are the resolution steps we received and it worked!
The issue was resolved by registering the Data Page used by the Insight in the Web Portal configuration.
The following configuration was verified:
The Data Page is a List structure and is sourced from a Report Definition.
Allow querying any column is enabled on the Data Page.
The Data Page is marked Available with the API option enabled.
Most importantly, the Data Page (D_PerformanceMetrics) was added under Application → Channels and interfaces → Web Portal → Landing pages → Explore data → Objects.
The Insight visibility was also verified to ensure it was accessible.
After registering the Data Page under the Web Portal’s Explore Data configuration, the Insight became visible and could be used as expected.
Key takeaway: For an Insight based on a Data Page to be available in the Web Portal, the Data Page must be explicitly registered under the Web Portal’s Explore Data → Objects configuration.