Question
4
Replies
675
Views
Labb Consulting
Posted: July 19, 2018
Last activity: August 12, 2018
Closed
Auto Refresh of Embedded Section on Pop-Up window
We have a requirement to auto refresh one section in regular interval of time, I have tried multiple ways but it’s not working so need help in this and requirement is:
1.Embedded section in a pop-up where we have a grid view should auto refresh in regular interval.
2.Auto refresh should end when grid view has some records.
***Updated by moderator: Lochan to update platform capability***
Hi Sudharshan,
Thanks for posting your query in PSC,
You can leverage the advantage of OOTB exposed API "pega.u.d.refreshSection".
1. Create a non-autogenrated section.
Include javascript with setTimeout function and use Pega.u.d.refreshSection to called with certain interval time.
2. You can validate the pxResults count and make a conditional statement in javascript code.
Include the non-autogenerated section in the targeted section.