close

Filter

loading table of contents...

Studio Developer Manual / Version 2412.0

Table Of Contents

9.23.2 Adding Custom Notifications

On several occasions, CoreMedia Studio shows notifications (see also Section 2.7, “Notifications” in Studio User Manual). It is easily possible to add your own custom notifications to CoreMedia Studio. In the following the necessary steps are described.

For your server-side module where you want to create a notification, make sure you add a Maven dependency on notification-api. This module contains the NotificationService API.

Also, make sure that your application as a whole has a Maven dependency on com.coremedia.cms:notification-elastic. This module contains an implementation of the NotificationService, which again is either based on Elastic Core for persistence, or on an SQL persistence layer. For the Blueprint Studio application this is already taken care of by the extension module notification-elastic-studio-lib.

Finally, take care of declaring a NotificationService Spring bean, either via a component scan or an explicit declaration.

For the Studio client side, you have to add the dependency @coremedia/studio-client.main.notification-studio-client to the package where you want to develop new notification UIs.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.