Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to reference embeded properties on the grid layout

SA-15819

Summary



A grid layout displays a user worklist. The source of the grid layout is a Data page which gets populated from a Report Definition.
The report definition has a join and hence the resultant structure is a pagelist having embedded pages of the joined class.

On trying to use the properties of the embedded page within the grid layout, the application does not allow this.


Error Messages



String value of a cell:
.pxPages(<your data page>).<property name> doesn't exist or is not a valid entry for this ruleset and its prerequisites


Steps to Reproduce



1. Create a Report Definition in Index-WorkPartyUri class and Join it with the Work class.
2. Create a Data Page and use the Report Definition and Data source.
3. Create a section, drag a repeating grid and refer the above created Data Page as the Data source.
4. Try to use any embedded property of the work object in the column of the grid layout and save the rule.


Root Cause



This is an issue due to Pegasystems' code or rules.

Resolution



Local-change is to modify Pages and Classes TAB to specify:

<your Data Page name>.pxResults - class it is applied to .pxPages(<your synonym for join>)
<your Data Page name>.pxResults.pxPages() - the same as above

This allows the property to be set as: .pxPages(W).<property name>

The same value can be set as Parameter for action if needed, after performing the mentioned modifications.
 

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

37.5% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us