Data Transform and Page List Properties
Hi all,
I've checked PDN and the 7.1.7 online help before posting this. A Pega resource recently exposed me to the way of defaulting data on an initial Create-Case situation by using a Data Transform. That all works great for simple properties such as Text or Integer properties. However, I have a Page List property (basically a child record in hierarchical or relational terms).
How can I populate this in a default way during development? I am trying to figure out Data Explorer techniques but can't seem to find a tutorial on how to basically set up some dummy data and populate the Page List property of my case at start up.
Thanks in advance
You can still use the Data Transform to set initial data for a page list. To reference directly you need to include the page number in brackets, followed by a dot, and the property name.
.PageList(1).property1
.PageList(1).property2
.PageList(2).property1
Alternativly, if you don't want to be conserned with the page numbers you can use the "Append and Map to" action to add a new page to the page list and then set the properties/ E.g for a pagelist called MyData I could do something like this to add 2 pages.