Tutorial: Platform.startFromManifest

Platform.startFromManifest

Retrieves platform's manifest and returns a wrapped and running platform. If there is a snapshot in the manifest, it will be launched into the platform.

Example

try {
    const platform = await fin.Platform.startFromManifest('https://openfin.github.io/golden-prototype/public.json');
    console.log('Platform is running, wrapped platform: ', platform);
} catch(e) {
    console.error(e);
}
// For a local manifest file:
try {
    const platform = await fin.Platform.startFromManifest('file:///C:/somefolder/app.json');
    console.log('Platform is running, wrapped platform: ', platform);
} catch(e) {
    console.error(e);
}