Question
Sky Solutions LLC
US
Last activity: 18 May 2020 16:28 EDT
What is the most efficient way to display API Response values in a section?
I am able to get an API Response and see the results on the Clipboard as shown here. Now what I want to do is be able to go through each resultSet and find errorDescription for each one and display it in a section. Since the number of resultSet will vary by API call (EX: One page might have 3 resultSet while another might have 6, the one pictured above has 5) would I need to use a repeating dynamic layout? Please provide screenshots on how to accomplish this. Thank you.
***Edited by Moderator Marissa to update Platform Capability tags****
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
As it seems like you are having a pagelist, you can either use table layout or Repeating Dynamic layout.
Sky Solutions LLC
US
Would I need to put an embedded section inside the Repeating Dynamic Layout?
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
Yes, and give the source as a pagelist for the Repeating Dynamic Layout.
Sky Solutions LLC
US
I have configured the Repeating Dynamic Layout with a pagelist as the source. Then I put an embedded section within the repeating dynamic layout with these cell property settings.
Then I clicked the crosshair icon next to TenonResultSetList to configure the section. I have tried setting the source like this but it still doesn't work.
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
Seems like you are trying to include pagelist property as a property reference for section include inside TenonResultSetList.
We need to mention the property inside the Repeating Dynamic Layout settings and include the section inside it.
Please find the below article which might be helpful.
Sky Solutions LLC
US
Do you mean putting TenonResultSetList for the List/Group?
Updated: 14 Jun 2021 7:38 EDT
Pegasystems Inc.
IN
No, we need to keep ConnectRest.response_POST.resultList there.
Sky Solutions LLC
US
Ok I have changed it but am still confused on what to do next. The article didn't help much unfortunately. Thank you for the help once again Kanap.