| [No Target Defined] > Defining an entry point |
Implement the openEntryPoint function at the top-level frame of the App. openEntryPoint is the channel for accepting invocation requests from HP Anywhere.
function openEntryPoint(entryPoint, params, cb, scope) { var res = window.myApp.fireEvent ('entryPointCalled', entryPoint, params); //calling it back - Boolean indicating success and a text message Ext.isFunction(cb) && cb.apply(scope || this,[!!res, From:' + HPA.miniappId +'::' + entryPoint]); }