close

Filter

loading table of contents...

Studio Developer Manual / Version 2010

Table Of Contents

7.19.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 Web-App as a whole has a Maven dependency on com.coremedia.cms:notification-elastic. This module contains an Elastic Core based implementation of the NotificationService. For the Blueprint Studio Web-App this is already taken care of by the extension module notification-elastic-studio-lib. By default, the provided NotificationService uses mongoDb.

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

For the Studio client side, you have to add the Maven dependency notification-studio-client to the module where you want to develop new notification UIs. In addition, you have to activate the notifications framework via plugin (for the Blueprint Studio, this is already taken care of by the extension module bpbase-notification-studio-plugin):

<editor:StudioPlugin>
  <editor:configuration>
    <notifications:NotificationsStudioPlugin/>
  </editor:configuration>
</editor:StudioPlugin>

Search Results

Table Of Contents