• Pavan Kumar
    July 21, 2020 at 5:11 am #5790

    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
    July 21, 2020 at 7:28 am #5792

    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.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search