Run Neptune applications
Applications are normally started when a user clicks on a tile in the Neptune Launchpad. But applications can also be started in a range of other scenarios. An application can be started just by running the direct URL. If you only need to run one application, we still recommend running the application inside the Neptune launchpad. You can set the launchpad to only run this one application, by doing this you still get the benefit of the launchpad framework.
Another way to start an application is by code using the AppCache.Load function. By doing this in the Neptune Launchpad, you can take advantage of all the Launchpad events. You can also run applications inside another application in a parent frame, making your Neptune applications reusable in a wide range of scenarios.
When an application is started using AppCache.Load, the onInit, and onBeforeDisplay event handlers are called. Not the same way in all the different scenarios. Here’s a matrix of the different scenarios:
Scenario |
Code |
First call |
Subsequent calls |
Clicking navigation item |
From tile click |
+ |
onInit |
beforeDisplay |
beforeDisplay |
Standalone without init |
AppCache.Load("APP"); |
onInit |
beforeDisplay |
|
Standalone with init |
AppCache.Load("APP", \{ |
onInit |
||
Standalone with init |
AppCache.Load("APP"); |
beforeDisplay |
beforeDisplay |
|
In Parent |
AppCache.Load("APP", \{ |
onInit |
beforeDisplay |
|
With navigation item |
AppCache.Load("APP", \{ |
onInit |
beforeDisplay |
|
In dialog |
AppCache.Load("APP", \{ |
onInit |
||
Single app in launchpad |
onInit |
|||
App in tilegroup |
onInit |
|||
App in tile |
onInit |