Class sap.collaboration.components.fiori.notification.ComponentModule: sap/collaboration/components/fiori/notification/Component
Notification Component
A Notification Component is a ui5 component that displays a SAP Jam member's latest notifications.
This component refreshes itself when the number of seconds specified in the refreshInterval parameter elapses. When refreshing, the backend is called to obtain the latest notifications.
Deprecated API:Since version 1.26.0. There is no replacement for this control. The Fiori Launchpad now provides its own implementation for this control. This control was never meant to be used directly by third parties.
Since: version 1.18.
Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers.
sClassName
and enriches it with the information contained in oClassInfo
.notificationsTargetUrl
.numberOfNotifications
. Accepts an object literal mSettings
that defines initial property values, aggregated and associated objects as well as event handlers. See sap.ui.base.ManagedObject for a general description of the syntax of the settings object.
The supported settings are:
- Properties
- oDataServiceUrl : sap.ui.core.URI (default: /sap/opu/odata/sap/SM_INTEGRATION_SRV)
- numberOfNotifications : int (default: 10)
- transitionInterval : int (default: 10)
- refreshInterval : int (default: 300)
- notificationsTargetUrl : sap.ui.core.URI
{sap.ui.core.URI} | oDataServiceUrl? | The OData service URL needed for the notification component, the default value is "/sap/opu/odata/sap/SM_INTEGRATION_SRV" |
{sap.ui.core.int} | numberOfNotifications? | This is the maximum number of notifications to be displayed. The default value is 10. |
{sap.ui.core.int} | transitionInterval? | This is the amount of time in seconds a notification is displayed before the next notification is displayed. The default value is 10. |
{sap.ui.core.int} | refreshInterval? | This is the amount of time in seconds before calling the backend to update the notifications. The default value is 300. |
{sap.ui.core.URI} | notificationsTargetUrl | When a user clicks on the component, a new browser tab will open at this URL. |
- Deprecated:
- Since version 1.26.0. There is no replacement for this control. The Fiori Launchpad now provides its own implementation for this control. This control was never meant to be used directly by third parties.
sClassName
and enriches it with the information contained in oClassInfo
. oClassInfo
might contain the same kind of information as described in Object.extend.
{string} | sClassName | Name of the class being created |
{object} | oClassInfo? | Object literal with information about the class |
{function} | FNMetaImpl? | Constructor function for the metadata object; if not given, it defaults to sap.ui.core.ElementMetadata |
{function} | Created class / constructor function |
{sap.ui.base.Metadata} | Metadata object describing this class |
notificationsTargetUrl
. {sap.ui.core.URI} | Value of property notificationsTargetUrl |
numberOfNotifications
. Default value is 10
.
{int} | Value of property numberOfNotifications |
oDataServiceUrl
. Default value is /sap/opu/odata/sap/SM_INTEGRATION_SRV
.
{sap.ui.core.URI} | Value of property oDataServiceUrl |
refreshInterval
. Default value is 300
.
{int} | Value of property refreshInterval |
transitionInterval
. Default value is 10
.
{int} | Value of property transitionInterval |
notificationsTargetUrl
. When called with a value of null
or undefined
, the default value of the property will be restored.
{sap.ui.core.URI} | sNotificationsTargetUrl | New value for property notificationsTargetUrl |
{sap.collaboration.components.fiori.notification.Component} | Reference to this in order to allow method chaining |
numberOfNotifications
. When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 10
.
{int} | iNumberOfNotifications | New value for property numberOfNotifications |
{sap.collaboration.components.fiori.notification.Component} | Reference to this in order to allow method chaining |
oDataServiceUrl
. When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is /sap/opu/odata/sap/SM_INTEGRATION_SRV
.
{sap.ui.core.URI} | sODataServiceUrl | New value for property oDataServiceUrl |
{sap.collaboration.components.fiori.notification.Component} | Reference to this in order to allow method chaining |
refreshInterval
. When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 300
.
{int} | iRefreshInterval | New value for property refreshInterval |
{sap.collaboration.components.fiori.notification.Component} | Reference to this in order to allow method chaining |
transitionInterval
. When called with a value of null
or undefined
, the default value of the property will be restored.
Default value is 10
.
{int} | iTransitionInterval | New value for property transitionInterval |
{sap.collaboration.components.fiori.notification.Component} | Reference to this in order to allow method chaining |