on 12-26-2014 10:05 AM
Hi ,
I want to know that how to get notification form any website (like Facebook) on Fiori app ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.