I have a requirement as shown to convert three repeatable properties viz. Name, Position and Salary from an excel file to a web form BUT the web form itself should be repeatable.
I have looked at the UI elements in PEGA but I need to create ANOTHER section i.e the same section for Budget Year 1, Budget Year 2, and so on and not add another row as shown below in the PEGA UI Gallery Elements.
Thanks for replying to my question. What you have shown me is 'another' way to add a new row of information.What I need is for this complete repeat grid section to clone itself.
On Click of an ADD button, I need to DUPLICATE the ENTIRE Section itself -- NOT add another row to the repeat grid as you have shown me. If you look at my screen shot, at the bottom of my Excel sheet, I have a BUDGET DETAIL YEAR TAB. So for Year 2018, I need a repeat grid section, and for Year 2019, I need another repeat grid section, for 2020 I need to be able to present another repeat grid section and so on. User can click a button and be able to create a NEW Repeat Grid section. Essentially, create another copy of the Repeatable Grid for EACH year.
For the expand pane configuration, you will have to specify the flow action which will call a section that is to be displayed. When you click on add you are displaying a section. So you can add the grid section that is to be duplicated within the expand pane section.
- Let the main grid section be SecA. On this grid configure an expand pane row editing option.
- For this expand pane, define a flow action that shows section SecB. Have the grid section that is to be duplicated in SecB.
Your requirement is to make the properties themselves repeatable right? UI is only a way to display the information. So the way to think about is to create a PageList of the Year and add the properties on this Yearly Pagelist. In the screen shot below, you have BudgetYear as a Pagelist and Personnel as Page.
Once you have the data structure correct, you can use Expanded Pane or any other Pane to display the current pagelist properties, embed this expand pane INSIDE another dynamic layout.
You have understood my requirement perfectly. I am trying to simulate the my class structure and pagelists in the same way.
More importantly, if I can create a DataPage of the above structure of a Repeating List (Personnel) inside another Repeating List (BudgetYear), I think it will solve the problem as my expanded pane (which is a table layout) just needs to load/access the DataPage.
Can some one show me HOW to create a DataPage having a Repeating List (Personnel) inside another Repeating List (BudgetYear)?