Tutorial: System.launchManifest

System.launchManifest

Launches an application using a manifest file and returns the manifest. It supports protocols http/s and fin/s, and also a local path.

Note: This API is Windows only.

Examples

This API can handle most manifest types. Some examples below.

Traditional

const manifest = await fin.System.launchManifest('https://demoappdirectory.openf.in/desktop/config/apps/OpenFin/HelloOpenFin/app.json');
console.log(manifest);

Platform

const manifest = await fin.System.launchManifest('https://openfin.github.io/platform-api-project-seed/public.json');
console.log(manifest);

Launching traditional manifest into a platform

const manifest = await fin.System.launchManifest('https://openfin.github.io/platform-api-project-seed/public.json?$$appManifestUrl=https://demoappdirectory.openf.in/desktop/config/apps/OpenFin/HelloOpenFin/app.json');
console.log(manifest);

Launching with RVM options

const manifest = await fin.System.launchManifest('https://openfin.github.io/platform-api-project-seed/public.json', { noUi: true, userAppConfigArgs: { abc: '123', xyz: '789' } });
console.log(manifest);

Local Path

const manifest =  await fin.System.launchManifest('file://c:\\path\\to\\manifest\\file.json');
console.log(manifest);