Not able to use declare index properties in report definition
Hi all,
I have created a declare index for storing the embedded page list property in the index table. I can see the data correctly gets stored in indexed table. But when I am trying to use it in report definition which is in my Work- class, I am getting an error like below.
Property Name: This is not a valid property, or this is a property that cannot be used here.
Property Label: A Column Heading is blank: 'IX.UserIdentifier'. Enter a heading for this column
On the Data access tab, I have joined the report with my declare index correctly. I tried changing from Ónly include matching rows' to other two options but same error persists.
Any help is much appreciated.
Regards,
Aniket
Hi all,
The issue was I was using the inherited properties in the declare index. When I saved all properties in the child data class to which the embedded property was pointing and exposed them, it worked fine.
I had changed the embedded property mapping couple of times from child to parent and back, which is anyway not recommended by Pega.
As of now saving all properties in the child data class and exposing them has solved this issue.