cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4381
Views
0
Helpful
15
Replies

Javascript SystemInfo Example

kpickard
Level 5
Level 5

dlender do you have an example javascript gadget that uses the SystemInfo object? The init() format is different that the other Finesse objects and I have been unable to get a working example (probably missing something simple). I can instantiate an object but I never get any callbacks. Also if I call isLoaded() on the object it just fails (rather than returning false). I can call some methods on the object but only those that do not call isLoaded(). Any help would be appreciated. Thanks.

15 Replies 15

Eric,

 

Would this work for you?

So you know when Finesse is out of service?

 

https://pubhub.devnetcloud.com/media/finesse/docs/guides/javascript-library/symbols/finesse.clientservices.ClientServices.html

 

Add a callback to be invoked when any of the following occurs:
  • Finesse is no longer IN_SERVICE
  • The BOSH connection is lost
  • The presence of the Finesse user is no longer available
If any of these conditions are met at the time this function is called, the callback will be invoked immediately.
 
Gerry