Support Article
click of List in Actions tab of report definition getting error.
SA-31201
Summary
When the List in Actions tab is clicked in the summary view, the user receives an error message.
Error Messages
InvalidReferenceExceptio .pyLabel Unexposed properties cannot be selected for classes mapped to external tables.
Steps to Reproduce
- Create an external class i.e it is mapped to an external table in PegaRules db , and it inherits from Data- class
- Create a summary type reportdefinition in that class(Maintain count as one of the column )
- Run the report, click on Actions-> List (Make sure that, in the ReportViewer tab, checkbox List is checked under Enable actions)
Root Cause
Whenever a Summary report is converted to List from Report viewer it calls pyDefaultReport and hence it includes its column into the list report.
Resolution
1. Save as the pyDefaultReport ,
if pyDefaultReport exists in the class from which reportDefinition class is inheriting from , save that into the reportDefinitions class
else choose pyDefaultReport of @baseclass
2. Remove the .pyLabel, .pxCreateDateTime from the query and filter sections , save it .
Published December 14, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.