When I run a wizard to create a Connect REST, it creates Data Page by itself. Now, I want to create a grid (table) in a section to show all the records that are retrieved by Connect REST, but I don't know how. Can someone please help.
For example, I have a D_XYZ and it returns multiple rows of results. Simply I want to show these records record in a drop down. So I selected Data Page for list source for drop down. And, I appended ".result" as below but Pega won't save this configuration.
I guess this is because here I am supposed to specify the name of Data Page, but if I do so, of course it won't work as Pega would not know the name of result property. Since this is a Single Page type Data Page, what would be the easiest way to achieve this? Why doesn't Pega create a Page List type of Data Page?
***Edited by Moderator Marissa to update Platform Capability tags****
I tried but it does not work. The reason is, Data Page that Connect REST wizard generates is not "List" type but "Page". This single page Data Page has multiple results sets under top page but the name is not "pxResult" but their own named property - in my case, "result". It could be anything because it is up to external system.
In your case, "D_ListOfOperators" Data Page is "List" type and yes in that case your configuration works.
No, the Data Page that Connect REST generates is not "List". Why does Pega create only "Page" type Data Page, and not "List" type? How do people show list of result set in the Data Page? I don't want to create a new unnecessary page list property for only this purpose?
Sorry, you are right. If you select "Property" instead of "Data Page" it works. However, it only works if the Data Page doesn't need any parameter. If Data Page requires a parameter, how can I specify that?
Data Page works fine if string parameter "symbols" are passed.
I do not see anywhere I can pass parameter for Data Page.