How do I call a javascript to execute a planning function or a button that has a planning function.
I tried creating a script using script web item and wizard to execute a planning function. The wizard generated a javascript function that has two parameters currentState, defaultCommandSequence
I can call the function inside the body tag using OnLoad but what parameters do I need to pass for currentState and defaultCommandSequence.
Is there any other way of doing. Any help is greatly appreciated.
Thanks