Provides run-time access to the OpenFin Plugin

TypeScript
export interface

Methods

MethodDescription
getCurrentLiveOpenFinReport()Retrieves the OpenFin currently sending live data to Excel
getOpenFinSchedules()Retrieves all Schedules that send data to Excel via OpenFin
getOpenFinState()Retrieves the OpenFin section of System State
getOpenFinThrottleTime()Retrieves the Throttle time for live updates
getPluginOptions()Retrieves the OpenFinPlugOptions provided in OpenFin Plugin
isOpenFinAvailable()Whether OpenFin is available
isOpenFinRunning()Whether OpenFin is currently running
showNotification(notification)Shows a notification in OpenFin
showNotificationForAlert(alert)Displays Alert as an OpenFin Notification
startLiveData(OpenFinReport)Runs Report in Excel as Live Report (so updates as AdapTable ticks)
stopLiveData()Stops live data; data will no longer be sent from AdapTable to Excel

Method Details

getCurrentLiveOpenFinReport

Retrieves the OpenFin currently sending live data to Excel

TypeScript
getCurrentLiveOpenFinReport(): OpenFinReport | undefined;
Returns

OpenFinReport | undefined

getOpenFinSchedules

Retrieves all Schedules that send data to Excel via OpenFin

TypeScript
getOpenFinSchedules(): OpenFinSchedule[];
Returns

OpenFinSchedule[]

getOpenFinState

Retrieves the OpenFin section of System State

TypeScript
getOpenFinState(): OpenFinState | undefined;
Returns

OpenFinState | undefined

getOpenFinThrottleTime

Retrieves the Throttle time for live updates

TypeScript
getOpenFinThrottleTime(): number | undefined;
Returns

number | undefined

getPluginOptions

Retrieves the OpenFinPlugOptions provided in OpenFin Plugin

TypeScript
getPluginOptions(): OpenFinPluginOptions;
Returns

OpenFinPluginOptions

isOpenFinAvailable

Whether OpenFin is available

TypeScript
isOpenFinAvailable(): boolean;
Returns

boolean

isOpenFinRunning

Whether OpenFin is currently running

TypeScript
isOpenFinRunning(): boolean;
Returns

boolean

showNotification

Shows a notification in OpenFin

TypeScript
showNotification(notification: any): void;
Parameters
ParameterTypeDescription
notificationany
Returns

void

showNotificationForAlert

Displays Alert as an OpenFin Notification

TypeScript
showNotificationForAlert(alert: AdaptableAlert): void;
Parameters
ParameterTypeDescription
alertAdaptableAlertAlert to display
Returns

void

startLiveData

Runs Report in Excel as Live Report (so updates as AdapTable ticks)

TypeScript
startLiveData(OpenFinReport: OpenFinReport): void;
Parameters
ParameterTypeDescription
OpenFinReportOpenFinReportReport to Run
Returns

void

stopLiveData

Stops live data; data will no longer be sent from AdapTable to Excel

TypeScript
stopLiveData(): void;
Returns

void