Posted: 2 May 2017 15:03 EDT Last activity: 16 Oct 2018 12:03 EDT
Asynchronous Data Page not working 7.1.9
Hello, I'm trying to load Datapage Asynchronously. On tab click calling activity which will do load Datapage method at step 2 and show harness will be executed at step 16. In harness have section which contains a layout inside thus layout, section include and the context page is data page and the layout is configured as defer contents. But until unless the datapage execution completes then only im able to perform button clicks and remaining things. Thanks...!
***Updated by moderator: Lochan to tag SR details***
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Connect-Wait is used to wait for pages loaded by Load-DataPage.
The pool id parameter to Connect-Wait method is a token used to group Data Pages loaded in the background by Load-DataPage method. When this parameter is set, the Connect-Wait method will wait for all the data pages that are loaded with the same pool id.
So, in your use case, you can add step 3 as "Connect-Wait" and then the rest of steps of your activity.
Posted: 5 years ago
Posted: 3 May 2017 0:29 EDT
Srinivas Sarda (SSrinivas)
Kept seconds still not working..
My requirement is to load Data Pages Asynchronously which will avoid blocking UI.
This is what I'm trying to do.
we have 6 sections in 6 layouts (Defer Load) for each of them context page is using data page and these data pages are configured loading asynchronously using Load-Data Page.
I'm only able to perform UI actions after all of them are loaded.
One more question is if we are loading Data Page asynchronously then if I use Connect-Wait then this process finally making the Data Page as Synchronous only right.Let me know if my assumption is wrong.
Posted: 5 years ago
Posted: 8 May 2017 20:46 EDT
Susan Liu (SusanLiu_GCS)
Senior Principal Engineer, Technical Support, Runtime Engine
Non blocking UI not working for me either. I have opened SR-B54349 for this. It is not working consistently even for the Pega Support team & they are looking into the issue. WIll update once SR is resolved
Posted: 4 years ago
Posted: 5 Dec 2017 0:43 EST
Swarnendu Bhattacharya (SwarnenduB9083)