Skip to Content
author's profile photo Former Member
Former Member

Notification on fiori

Hi ,

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

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • Best Answer
    Posted on Dec 26, 2014 at 05:00 PM

    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 Getting Started with Kapsel - Part 4 -- Push

    Unfortunately I didn't find any examples in SCN.

    Regards, Midhun

    SAP Customer Experience Group - CEG

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 26, 2014 at 10:13 AM

    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 ?



    Add comment
    10|10000 characters needed characters exceeded

    • 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 @Chandrashekhar Mahajan 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 )