How is the Fiori Launchpad tile data on SAP cloud platform extracted from the background?
This article will explain in detail how the Fiori Launchpad tile data on the SAP cloud platform is extracted from the background. The content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
After logging in to HCP through my own users, I can see a lot of interactive programs:
Https:///sap/hana/uis/clients/ushell-app/shells/fiori/FioriLaunchpad.html
I am curious about how to retrieve this tile information from HANA cloud and where to retrieve it.
Here are my research results.
Get the tile information through the restful service observed in the Network tab:
This is a json stream, please list a small portion of it here:
```json
{"ID": "70c4b7f1-5579-4517-bc09-e7231f5add96-1426085327112", "packageID": "", "objectName": "", "type": "chips.tiles.applauncherdynamic.DynamicTile", "templateProperties": [{"key": "navigation_target_url" "value": "# flp-runApp?html5App=cuscrmopportunity&SAPUI5.Component=cus.crm.opportunity&url=/"}, {"key": "formFactor", "value": "{\" desktop\ ": true,\" tablet\ ": true,\" phone\ ": true}"} {"key": "service_url", "value": "/ sap/opu/odata/sap/CRM_OPPORTUNITY/Opportunities/$count"}, {"key": "sap.hana.uis.flp.app.intentSemanticObject" "value": ""}, {"key": "sap.hana.uis.flp.app.intentAction", "value": ""}, {"key": "navigation_component_url" "value": "/"}, {"key": "service_refresh_interval", "value": "300"}, {"key": "navigation_component_name" "value": "cus.crm.opportunity"}, {"key": "allow_unknown_parameters", "value": "true"}, {"key": "tile_size" "value": "1x1"}, {"key": "html5_application_name", "value": "cuscrmopportunity"}, {"key": "sap.hana.uis.flp.app.type" "value": "SAP_UI5_Component"}, {"key": "display_icon_url", "value": "sap-icon://Fiori2/F0012"}, {"key": "display_title_text" "value": "My Opportunities"}]}
`
Restful services are implemented through consumption_ services, and the source code can be found in HANA studio.
The call will be delegated to FIORI_DAO:
FIORI DAO is a subclass of the workspace DAO:
The workspace DAO simply issues a query to the HANA database by calling getResultSet ():
Finally, the HANA procedure GET_APPSITE is called:
In this process, we can know that the tile information in HANA HCP is retrieved based on the union of the following two HANA tables:
This is about how the Fiori Launchpad tile data on the SAP cloud platform is extracted from the background. I hope the above content can be of some help and learn more knowledge. If you think the article is good, you can share it for more people to see.