Setting up the API

You must create the onLaunchboxLoaded method of the browser's window object (where you place the entry point to your application) before you can use any of the APIs:

The method is called by the Hybrid Container when it loads all JavaScript/native code and web apps are allowed to call all their APIs.

Public objects in the File API can be accessed directly, using the window.object_name reference.

All the other objects in these APIs can be accessed using the window.launchbox.object_name reference.

Legal notice | Copyright © 2016 and Confidential to Pegasystems Inc. All rights reserved
PDN | Hybrid Container | Feedback