Error editing Section: ScheduleInterview_0. Unable to find PageList
In the Senior System Architect course and in the Senior_System_Architect_Exercise_Guide Pg. 78, it says 'Update the ScheduleInterview_0 section to use a repeat grid sourced by the Interviews property'. When I try to go the Layout Properties to SELECT the newly created page list property of data type TGB-HRApps-Data-Interview named Interviews - I am not able to find it. Please see the screenshot. As you can see from the screenshot, the Interviews property is present under the TGB-HRApps-Data-Interview
When I go to the Grid Layout I instead get two properties Interview and .Interview in the drop down list and when I select either of the two, I get an error saying 'PageList Property for repeating row— Repeating Row can not be defined using .Interview property, please select a Page List type property'
How can I get Interviews PageList property on my ScheduleInterview_0 Section?
On the first step of the exercise you needed to create a page list property Interviews in the Candidate case type that references the TGB-HRApps-Data-Interview data class. Looks like you created the Interviews property in the TGB-HRApps-Data-Interview class (which is recursive). Save the property in the TGB-HRApps-Work-Candidate class and you should have no problem accessing it.
Thanks for replying. I created the a page list property Interviews in the Candidate case type that references the TGB-HRApps-Data-Interview data class and also a Parleys (just for testing) page list property (just like the Interviews testing) page list property ) in the Candidate case type that references the TGB-HRApps-Data-Interview data class. I also deleted the recursive Interviews property in the TGB-HRApps-Data-Interview class that I had created erroneously. So I now have the existing
1.) Interview (single) page property and new
2.) Interviews pagelist property and
3.) Parleys pagelist property.
In the pySetFieldDefaults data transform, I added both these pagelist properties.
The instruction in the exercise guide says '3. 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.'
When I do that, in the Repeat Grid DataSource i see only .Interview and Interview which are defined in the Pages and Classes section of the original ScheduleInterview_0 section. What is the significance of this?
(screen shot attached)
I am able to select the Interviews Pagelist but NOT the Parleys Page list as it cannot find a direct reference to the TGB-HRApps-Data-Interview unlike the Interviews PageList Property.
I have the following questions
1.How can One Pagelist property be available but not the other for the Repeat Grid?
2.How can I create a direct reference to that class in order to use the new Parleys Pagelist Property unlike how I have in my screenshot?
3. My screenshot of the repeat grid is different from the one published in the Exercise Guide on Pg. 78. What am I doing wrong.
When I test the flow and arrive at the Interviews Stage, I am unable to add Items.
Sean Hedenskog was gracious enough to do a screen share with me at such short notice and solved all the issues I was having. I also asked him other questions and he was kind enough to answer those as well. I was indeed lucky to be speaking with such a knowledgeable person.
Solutions to the isses raised in my post are outlined below along with screen shots.
Use a .Interviews (or in my case a .Parleys) Page of TGB-HRApps-Data-Interview data class in the Pages & Classes Tab .
Drag the InterviewSchedule section into the LOWER part of the Repeat Grid. (FYI-The upper part is the label) The default behavior of Repeat Grid is non-editable. To make it editable Open the Layout Properties -- Row Operations -- select 'always editable'.