Question

1112
Views
Ed_Lebeau Member since 2016 15 posts
Comptech Associates Inc
Posted: 2 years ago
Last activity: 2 years 1 month ago
Closed

PageList Property for repeating row -- .Interviews does not exist for use by this record (Validate).

I am taking the SSA 7.2 Training and in the "Exercise: Configuring parallel processing" I found myself totally confused and frustrated over a ".". For whatever reason, I cannot seem to get my head around when a "." is needed for a Page and when it isn't. Trying to follow the vague instructions [OK, I get that, we should be "big boys and girls" and under stand what is needed] I encountered the following error, "This record has 1 error(s) in 1 place(s). PageList Property for repeating row—.Interviews does not exist for use by this record (Validate)."

I looked up the error in this community and found this post, https://community1.pega.com/community/pega-academy/question/error-editi… which, pardon me, was absolutely no help at all. So after much trial and error, I have determined what my issue is, and I would like, if I could, to get a good explanation of why it is the way it is.

The instructions are:

  • In the Candidate case type, create a page list property of data type TGB-HRApps-Data-Interview named Interviews.

    To add a property, right-click the Candidate case type in the App Explorer and select Create properties to open the Data model for the case type.

  • In the Candidate case type, add a default entry to the list in the pySetFieldDefaults data transform. This ensures that the list contains an empty entry when the screen is displayed.

    Initialize an element in the first item in the list (for example, .Interviews(1).Location = "") to add a default entry.

  • Update the ScheduleInterview_0 section to use a repeat grid sourced by the Interviews property, allowing the user to add and remove interviews. In the repeat grid, include the existing InterviewSchedule section to display the interview information in the grid.

    In the Case Explorer, select the Schedule Interview step and click Configure view to open the ScheduleInterview_0 section.

    Remember to set the edit mode on the repeat grid so users can update the contents of the page list.

It is important to note that in order to get the "Repeat Grid [.Interviews of Class TGB-HRApps-Data-Interview], it is necessary to first specify the "Interviews" Page List in the "Pages & Classes" tab. Here is the issue. You CAN put in ".Interviews" with the dot, and it will take it. But if you do, and try to save the rule, you will get the error.

To make things more interesting, if you specify "Interviews" in the Pages & Classes tab, the Design tab will look as follows:

Image removed.Image removed.[see attachment]

So note the absence of the "." in the "Repeat Grid [Interviews of Class TGB-HRApps-Data-Interview]. But when you Save the rule it magically changes to: "Repeat Grid [.Interviews of Class TGB-HRApps-Data-Interview] with the ".".

So can someone help me understand when the "." is and isn't appropriate?

I have also been challenged to check my work on this one. For whatever reason, when I click on Add Item, no new row appears. I have carefully made sure that in the Layout Properties Operations tab, "Rows always editable" is selected.

Pega Academy
Moderation Team has archived post
Share this page LinkedIn