Amr Mahfouz
page.ui.get(“”) is failing and becomes not defined if the context was saved and trying to refresh the page will generate error page is not defined
also it is underlined with yellow color in the scripting item
please advise.
SPARK Support
Hi Amr,
This issue started when BPM version 8.6.0 was released. The page variable appears to no longer be loaded in the global scope due to IBM having obfuscated and minified the underlying code for the controls. However, if the user opens the developer tools, and chooses an element to inspect, the page variable should now be available in the console. Also, the page variable will always be available if a debugger statement is used to pause an event.
Regards,
Stephen P