Question
Auto refresh of harness/section
Hello
I am working on a usecase where harness/section has to be refreshed every 10 seconds automatically.
Reason is that section is showing items from data base using report definitions which should always show real time data. I searched pdn for the same as well. Two conclusions I could make from posts are, First, no OOTB rule is there to handle it and Second, need to configure javascript using autogeneratedsection to handle the same. Please confirm if my understanding is right/wrong in this regard.
rgds
Karan
I don't have an answer to your question, but I do want to warn you that what you are doing can turn out to be surprisingly dangerous. With a refresh occurring every 10 seconds, the opportunity for the refresh to trigger while the Browser is simultaneously responding to some user action increases dramatically; depending upon the robustness of your UI, the two events can interfere with each other, leading to unexpected and nearly impossible to reproduce results. Almost always they will not interfere -- but the "almost" may cause you grief.
You don't say what release of Pega you are on, but in the releases below 7 the dangers increase dramatically.
You don't say what data is being presented that needs to be within-10-seconds current, but is it possible to introduce a manual refresh switch instead of the automatic refresh?