Access thread of deferred load data page
In UI we have section where users can edit decision tables and then they should be able to save the edited table data in the database.
To find out if user modified some data in any table row we need to compare line by line between decision table and last version saved in database. This basically takes a lot of time, because we display changed tables in one section (in table from Data page) and the UI page hangs until the data transform finishes to check tables and populates data page.
We managed to configure Defer Load and Use Page Context functionality:
And this actually loads the whole page and the section with change list after the data page has finished loading, without interrupting users work.
In UI we have section where users can edit decision tables and then they should be able to save the edited table data in the database.
To find out if user modified some data in any table row we need to compare line by line between decision table and last version saved in database. This basically takes a lot of time, because we display changed tables in one section (in table from Data page) and the UI page hangs until the data transform finishes to check tables and populates data page.
We managed to configure Defer Load and Use Page Context functionality:
And this actually loads the whole page and the section with change list after the data page has finished loading, without interrupting users work.
But we need additional data from the process of populating this data page - flag to check if users can save changes to database and the change list itself. And because we need to have the page Refresh strategy set to reload once per iteration, because user needs to be able to go in the table change something and come back to main section and see their new changes in the list. This then stops the whole page from loading if I refer to the flag in the data page from somewhere else - D_TestAsyncLoad.AllowVersionCreation because of refresh strategy the page will start to populate again and hang the whole UI page.
In data pages, D_TestAsyncLoad, source (data transform) I try to set this flag in some other page - D_EditableTest. And this page mode is Editable. But after the page D_TestAsyncLoad is finished loading the data in D_EditableTest is nowhere to be found in clipboard.
I tried experimenting with both page scopes - setting it to Requestor and Thread. Also since in tracer I noticed that the D_TestAsyncLoad source data transform is being run in Standard thread. But coming back to that thread in clipboard doesn't show page D_EditableTest.
So my question is it possible to set additional data to other data page in the source of data page which is being loaded asynchronous from main thread? Or is that data being discarded after the page has finished loading?