@mapgear/geoapps > GeoApps > AddApp
GeoApps.AddApp() method
Add a GeoApps app
Signature:AddApp(name: string, appId: string, current?: boolean): Promise<App>;
Parameters
Parameter | Type | Description |
---|---|---|
name | string | Unique reference name of the app, used to retrieve the app through GetApp() |
appId | string | The id of the app to load requested environment is not the default project for the app |
current | boolean | (Optional) Indication if the app that is added is the current app |
Promise<App>
App
representing the app that is requested by the specified appId