Posted: 6 Aug 2018 15:28 EDT Last activity: 6 Aug 2018 15:32 EDT
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)."
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:
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.