readyForOperation Method
This method notifies Fusion Service that the toolbar is ready for operation. A minimum of one call to this method is mandatory. The toolbar is disabled by default, and is enabled when this method is called with the readiness parameter set to TRUE.
| Parameter | Description | 
|---|---|
| readiness | Boolean value that specifies whether the toolbar is ready to operate. | 
| callback | Callback which informs the toolbar that Fusion Service has received the readiness status message. | 
Here's sample code to call the readyForOperation method
<html>
<head>
<script type="text/javascript" src="http://domain:port/ora_support/js/mcaInteractionV1.js"> 
</script>
<script type="text/javascript">
  function setReady() {
      svcMca.tlb.api.readyForOperation(true, function (response) {
        if (response.result == 'success') {
          alert('Success!');
        } else {
          alert('Operation finished with error: ' + response.error);
        }
      });
    }</script>
</head>
<body>
<input type="button" value="Get state" onclick="getDisplayState()"/>
</body>
</html>