cancel
Showing results for 
Search instead for 
Did you mean: 

Notification on fiori

Former Member
0 Kudos

Hi ,

I want to know that how to get notification form any website (like Facebook) on Fiori app ?

Accepted Solutions (1)

Accepted Solutions (1)

midhun_vp
Active Contributor
0 Kudos

Hi Navin,

Out of the box Fiori doesn't have push notification feature. You can add this feature using push notification plugin that comes with Kapsel

Unfortunately I didn't find any examples in SCN.

Regards, Midhun

SAP Customer Experience Group - CEG

Answers (1)

Answers (1)

Virinchy
Active Contributor
0 Kudos

Hi Navin ,

Are you trying to show notifications in Fiori app , like the notifications in Facebook (or) get the data from facebook and show as notifications in Fiori Application.

Can you provide more details on your requirement ?

Regards

Virinchy

Former Member
0 Kudos

Hi Virinchy,

Yeah you got it correct , Actually i want exactly same thing which you told, i want to get the data from Facebook (or any website) and want to show as notification in Fiori app.

Regards,

Navin

Virinchy
Active Contributor
0 Kudos

Hi Navin,

I would assume the data source from the website is an XML or JSON for easy consumption in UI5. (RSS Feeds from the website would also work as they are in XML format). An RSS feed would look something like this in an XML format and there is a great blog by   added  here explaining the consumption of RSS feeds in an UI5 application.

A standard Fiori Application might not be a direct fit for this scenario , with the lack in extension points for the application integration with third party data sources, So you might need to develop a custom ui5 application / Fiori like application.

Now we have two different ways to show notifications to the user.

1) Send Push Notifications : The application and the relevant services runs in the background thread and sends a push notification to the user . As mentioned by Midhun , UI5 apps does nt support Push notifications by default. Kapsel Push Notification plugin must be used to the push notifications to the user. (The application need to run in the background thread to send push notifications to the user)

2) Show Notifications : Notifications are shown only if the web application is opened. As in the added image below .

(Figure 1 is an image from facebook notification tray)

The similar can be achieved via UI5 Notification Bar. API Documentation link for Notification Bar is here and it looks as in below screenshot via UI5. Try the examples added in the API document .

(Figure 2 is from Example 3 of API documentation)

Notifications can also be shown on the tiles of the application. as in the below image . A standard TIle API is a good fit.

(Figure 3 is a screenshot from the Standard tile container API )

Regards

Virinchy