Fiori Launchpad Sites (Part 1): Developing & Managing Business Apps
Now that the Fiori Launchpad (FLP) is available on the HANA Cloud Platform (HCP) Trial accounts its a good time to try out the end to end development and consumption scenario with the new Fiori launchpad Sites.
In the first part of this blog we will focus on:
- Generating a business application using SAP Web IDE based on Northwind public OData services.
- Deploying our application to the HCP repository
- Registering our application to Fiori Launchpad and creating a Static Tile for it
In the 2nd part of this blog we will see how to
- Create a Dynamic Tile for our application
- Develop and configure a Custom Tile for our application.
By the end of this blog (if you make it… ) your Fiori Launchpad site will have 3 tiles – one of each type:
Launching the generated business application:
Prerequisites
- You have registered for a trial account for SAP HANA Cloud Platform
- Set up connectivity to Northwind (the destination file is attached bellow):
How to use Northwind OData service with SAP Web IDE - Enabled Fiori Launchpad on Portal Service and created a new Fiori Launchpad site
SAP Fiori Launchpad Joins HANA Cloud Platform Trial
1) Creating Categories, Content Packages & Groups for FLP Site
In Fiori Launchpad, apps belongs to specific Categories (for classification and availability for the end user catalogs),
Content Packages (for the purpose of role-based access) and are arranged in Tile Groups
(read more in Creating Content for Launchpad Sites)
2) Generating the ‘Employees’ Fiori application
After we enabled connection from our HCP account to the Northwind OData services we can use the SAP Web IDE templates to generate applications that consume its data.
Explanation | Screen Shot |
---|---|
Open SAP Web IDE from your HCP account cockpit |
See Opening SAP Web IDE |
Create a new project
|
![]() |
In the Template Selection screen
* For consistency please stick to the suggested names |
![]() |
In the Data Connection screen
|
![]() |
In the Template Customization screen bind the OData properties to the UI controls. Page 1 Section
|
![]() |
Page 2 Section Select the properties for the detail header
Navigation Section
Click Next and Finish to generate the project code. |
![]() |
Preview the Application
The employees application is launched displaying OData retrieved from the Northwind service |
![]() ![]() |
To complete the integration of our employees application with the Fiori Launchpad site we need to “proxify” our service URLs to overcome cross domain issues. This is achieved by adding a prefix to the service URL: jQuery.sap.getModulePath(“< app id >”) + “< service url >”
For more information – Integrating Apps in the Launchpad .
3) Deploying & Registering the application to FLP with a Static Tile
Now its time to deploy the employees applications to our HCP account. A dedicated versionised Git repository is allocated to every application we deploy. We can choose to activate any version of our application to make it public. After deployment we will register the application to Fiori Launchpad.
The app (and its static tile) are now available in the your Launchpad Site’s Content catalog.
How did that happen? In Part 1 we created a Content Package (named Northwind) and assigned our new Fiori Launchpad Site to it. Registering our employees application to the same content package makes it available in the assigned sites under the registered category.
The tile we created for our employee application is a Static Tile. It contains a fixed set of fields like the title, subtitle, info and and icon. More on tiles in the following link: Tile Properties
As inspiring as the Static Tile may be, you might want to add more data to your tile or totally customize it and turn it into a small informative application. We will see how to do that in sections 4 and 5 of the 2nd part of this blog.
Hi Ido. Thanks for this great step-by-step blog post. As a developer - this is exactly what we need so that we can see how differing technologies all fit together which can be very difficult from the help documentation and the typical blog announcing a new SAP technology.
Now I just need something that carries on from here to add in HCPms and even Mobile Secure to see the whole mobile scenario. 😉
Thank-you.
Noted 🙂
Hi Ido,
I deployed the application on HCP and able to run it successfully using WebIDE. But when I am trying the app to run the app using launch pad, I am not able to access the services.
I am using the jQuery.sap.getModulePath("fioriContent") in the service url.
Please suggest the necessary step to resolve.
Thanks in advance.
Regards,
Kumar Gaurav
Hi Kumar,
For efficiency reasons let's followup on this by mail, please contact me via meni.tito@sap.com
Best,
Meni Tito
Hi Meni,
I am also facing the same issue the app works in IDE, when deployed in launchpad it is not able to pick up the destination
can you suggest any ways to avoid this.
Regards,
Madhuri
Hi Madhuri,
Did you have the solution please ? I am facing the same issue
Thank you
Best regards,
Acyl
Hi Meni,
I hope you are fine
Could you please post the solution here as we are many to face the issue ?
Thank you
Best regards,
Acyl
Hi Kumar,
Did you have the solution please ? I am facing the same issue
Thank you
Best regards,
Acyl
Hi Ido,
I want to change the theme of the application and wanted to add some images and other stuff. Can you please let me know, how can i achieve it?
Hi Ido,
I do not see "Define Category" app. Could you please help.
Hi,
does it exists an update to your post ?
in fact, SAP Fiori Full Screen Application template doesn’t exist anymore, so that I have to use sap fiori worklist application odata V4 instead.
in addition, V3/Northwind/Northwind.svc/ isn’t available anymore, that’s why I use V4/Northwind/Northwind.svc/ instead.
surely due to that, i’m facing the error attached when executing the employees project.
but it seems that in my project, everything is correct.
in manifest I have the following :
and in neo-app.json I have this :
do you know what’s wrong.
I found the following but without answer : https://github.com/SAP/openui5/issues/2014
Kind regards,
Jean-François
Hi Jean-François,
I am not familiar with this issue. Perhaps you can try using the master-detail app template with V2 or V3 for Northwind ?
I have used nothwind V2 to display a list of suppliers in a custom SAPUI5 app - you can take a look at it my blog here - the blog contains a reference to the source code as well.
Â
Regards, Ido