Tutorial: fdc3.open

fdc3.open

Launches an app with target information, which can either be a string or an AppMetadata object. To resolve this, the function handleFdc3Open is meant to be overridden in the Interop Broker.

Example

tickerElement.on('click', (element) => {
    const ticker = element.innerText;

    const context = { 
        type: 'fdc3.instrument', 
        id: { 
            ticker 
        }
    }

    await fdc3.open('ChartApp', context);
})