Technical Articles
Trick: Add dynamic tile on the SAP Cloud platform launchpad
Hi!
In cloud foundry it’s possible add a configuration of tile directly in the manifest.json of the SAPUI5 application.
But, Is it possible to do this tile dynamic?
- YES! OF COURSE
It’s only necessary add “indicatorDataSource” that contains the configuration of KPIs and… the most important… In the path add “/dynamic_dest/<<Your destination>>/path_to_your_service
Just add the following configuration in your manifest (included in section “sap.app”):
"crossNavigation": {
"inbounds": {
"intent1": {
"signature": {
"parameters": {},
"additionalParameters": "allowed"
},
"semanticObject": "Object",
"action": "display",
"title": "{{appTitle}}",
"info": "{{appTitle}}",
"subTitle": "{{appSubTitle}}",
"icon": "sap-icon://account",
"indicatorDataSource": {
"dataSource": "APIPORTAL-Northwind",
"path": "/dynamic_dest/APIPORTAL-Northwind/V2/Northwind/Northwind.svc/Products/$count",
"refresh": 0
}
}
}
}
},
This is an example of the configuration:
In this example I used the destination to Northwind service:
Finally, this is the result:
Regards
Short and concise - a nice tick, Enric!
I'm sure you already know this but I want to leave this video tutorial here in case someone comes along this post who doesn't know how to create a SAPUI5 app that can leverage dynamic tiles.
Thank you for the contribution!
Unfortunately this seem not to work for me.
First of all i tried to add the service url to the dynamic Tile in the CloudFoundry Portal with following settings, which threw an 500 internal server error.
System : destination to approuter
Then i found this blog post and tried to add a new tile with northwind service as you did.

the count as you described to the launchpad i deployed with my app. Sadly this resulted in another error 404 Not Found

I also tried to remove the filter but this did not change anything.
The application logs also only show that it returned 404.
BUT when i try the request with the approuter URL it works fine, which also does in the App itself!
Marius Obert
Maybe you have an idea?
Thanks i advance for every hint!
Nice blog!
Does it works also on the Fiori Launchpad in the SCP Portal Service?
thanks!
Thank you @Enric Castella Gonzalez for the great example!
Is it possible to link a service/path which comes directly from a CAP Service?
Or do you always need a seperate destination on the SCP?
Thanks in advance!
Hi Lukas,
in my fork of the central-launchpad-cap application from Mio Yasutake I've added the dynamic tile in this commit:
https://github.com/gregorwolf/central-launchpad-cap/commit/4c9ee971fda10f9830f984885867d85b4cdfd107
works just fine:
CU
Gregor
Where is the documentation for these configuration available ?
Hi is there also a solution to upload a Feed Tile instead of a dynamic tile?