Posted: 12 Nov 2020 17:13 EST Last activity: 18 Nov 2020 21:05 EST
Accessing specific data page instances
I have a thread level data page that takes parameters. Every time it's accessed it creates another instance of itself with a hashcode suffix based on the parameters inputters in the square brackets.
So if the data page is accessed like this "D_TestPage[State: 'CA', Account: 'Premium'].status" , it will return the status based on the State and Account parameters. Then on the Clipboard it will add another instance to the datapage called "D_TestPage_pa342356456pz".
If I want to access the .date property on that instance, is there any way to access that clipboard instance without knowing the hash suffix and without having to call it again using the parameterized call ""D_TestPage[State: 'CA', Account: 'Premium'].date"
Calling the parameterized version again would trigger a third part service call and knowing the hash doesn't seem possible at run time. Can I call the last generated instance?
If your data page scope is thread, In the data page under "Load Management" tab if you didn't tick the reload per interaction then the data page will not be reloaded again if you pass the same parameter.
You may also opt to add the "Reload when older" details to set when you want the data page to be loaded.