Posted: 31 May 2018 22:17 EDT Last activity: 26 Aug 2020 13:52 EDT
Page list property initialized as classless
When adding a page list property to a view in Case Designer or Pega Express, Pega automatically initializes one instance in the pySetFieldDefaults Data Transform using the following: Set .PageListProp(1).pyLabel equal to " ". The issue I am experiencing in 7.3.1 is that the created page is classless and therefore does not function properly. If I explicitly set the class in this data transform via .PageListProp(1).pxObjClass = [data class] then it works fine but the data transform generates a warning that this is not best practice. Can someone please advise on what may be the issue here?
Thanks for you response. The data model was created in Pega Express when configuring a new view. It is not happening consistently when creating another data object. I'll monitor and create an SR if needed. Thank you.
Hello, I am curious: Has this issue been resolved?
I was just doing the System Architect Essentials course (7.3, 7.4) online and experienced the same issue. Only hardcoding the pxObjClass solved the problem of the page list property being initialized as classless.
And interestingly, in this online course, the pxObjClass for other properties was hardcoded in pyDefault Data Transform for a case type as well, with justification "fixes classless page issue".