Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 2.07 KB

how-to-customize-notification-center.md

File metadata and controls

43 lines (27 loc) · 2.07 KB

ℹ️ OpenFin Workspace: OpenFin Workspace is a commercial product and this repo is for evaluation purposes (See LICENSE.MD). Use of the OpenFin Container and OpenFin Workspace components is only granted pursuant to a license from OpenFin (see manifest). Please contact us if you would like to request a developer evaluation key or to discuss a production license.

<- Back to Table Of Contents

How To Customize Notification Center

The notification center is one of the standard components of OpenFin workspace, for an in depth look at the component see Notification Center Overview and Connect A Workspace Platform to Notification Center.

The notification center will use the theming that you have configured for your platform, see How To Theme Your Platform

Enabling Notifications Center

To enable the notification center component the following settings in the manifest must be set.

"bootstrap": {
    "notifications": true
}

For more details on the bootstrapping process see How To Customize The Bootstrapping Process

Configuring Notification Center

All of the notification center specific configuration options are stored in notificationProvider

As with the other workspace components you can set the id, title and icon used when the platform launches home e.g.

"notificationProvider": {
    "id": "workspace-platform-starter",
    "title": "Workspace Platform Starter",
    "icon": "http://localhost:8080/favicon.ico"
}

The values will be passed in to the register method of the notifications.

Source Reference

<- Back to Table Of Contents