Pavan Kumar
Hi ,
I am trying to run a function during coach load using dojo like below. but am unable to access control references. There are many functions which should get executed during coach load.
This code is written in custom HTML. Kindly help me how to use dojo ready to call functions and get control references.
<script>
require([“dojo/ready” , “dojo/domReady”],function(ready){
ready(function(){
testVisiDojo();
});
});
</script>
<script>
function testVisiDojo() {
console.log(document.readyState);
console.log( page.ui.get(“okbutton”) );
}
</script>
SPARK Support
Hello Pavan,
This question is outside the scope of the SPARK UI Forum.
Please contact IBM for Support: https://www.ibm.com/mysupport/s/topic/0TO50000000IMp8GAG/business-automation-workflow?language=en_US
If you would like to partner with our developers on an engagement basis, please contact our Sales Team.
Regards,
Stephen P.