OpenFinPluginOptions

Options required for when using the OpenFin plugin

TypeScript
export interface

Properties

PropertyDescriptionDefault
notificationTimeoutTimeout (in ms) for OpenFin Notifications to expire; set false for notifications not to auto-dismiss5000
onNotificationActionFunction which is invoked when a button in OpenFin notification is clicked
onShowNotificationUpdates OpenFin Notification object before it's displayed (just add/remove properties); return false to stop Notification showing
onValidationFailureInExcelAction to perform when a data change in Live Excel report triggers Prevent Edit Alert failure
showAdaptableAlertsAsNotificationsConverts AdapTable Alerts configured to display in popup as OpenFin Notificationstrue
showAppIconInNotificationsIcon to show in Notification - uses the value supplied in UserInterfaceOptionstrue
throttleTimeHow long (in ms) AdapTable throttles when sending data update to OpenFin2000

Property Details

notificationTimeout

Timeout (in ms) for OpenFin Notifications to expire; set false for notifications not to auto-dismiss

TypeScript
notificationTimeout?: number | false;
Default Value

5000

Property Value

number | false

onNotificationAction

Function which is invoked when a button in OpenFin notification is clicked

TypeScript
onNotificationAction?: (event: {
        notification: any;
        type: string;
        trigger: string;
        result: {
            task: string;
        };
    }) => any;
Property Value

(event: \{ notification: any; type: string; trigger: string; result: \{ task: string; \}; \}) => any

onShowNotification

Updates OpenFin Notification object before it's displayed (just add/remove properties); return false to stop Notification showing

TypeScript
onShowNotification?: (notification: any, alert?: AdaptableAlert) => any;
Property Value

(notification: any, alert?:AdaptableAlert) => any

onValidationFailureInExcel

Action to perform when a data change in Live Excel report triggers Prevent Edit Alert failure

TypeScript
onValidationFailureInExcel?: 'override' | 'show-notification' | 'show-undo-notification';
Property Value

'override' | 'show-notification' | 'show-undo-notification'

showAdaptableAlertsAsNotifications

Converts AdapTable Alerts configured to display in popup as OpenFin Notifications

TypeScript
showAdaptableAlertsAsNotifications?: boolean;
Default Value

true

Property Value

boolean

showAppIconInNotifications

Icon to show in Notification - uses the value supplied in UserInterfaceOptions

TypeScript
showAppIconInNotifications?: true;
Default Value

true

Property Value

true

throttleTime

How long (in ms) AdapTable throttles when sending data update to OpenFin

TypeScript
throttleTime?: number;
Default Value

2000

Property Value

number