Search code examples
sap-fiorihana-xs

Dynamic tile in Fiori launchpad in HANA XSA. How?


How can we create a dynamic tile in Fiori launchpad module in HANA XSA. Can you please share some link or documentation.

Thanks, Shivam


Solution

  • You need to update the manifest.json file of the application under crossNavigation. The “indicatorDataSource” section makes the tile dynamic e.g.

    …
    “crossNavigation”: {
    “inbounds”: {
    “SalesPerformanceDisplay”: {
    “semanticObject”: “SalesPerformance”,
    “action”: “Display”,
    “deviceTypes”: {
    “desktop”: true,
    “tablet”: true,
    “phone”: true
    },
    “info”: “”,
    “icon”: “sap-icon://Fiori2/F0365”,
    “indicatorDataSource”: {
                              “path”: “/product_sales/resources/sap/demo/dynamictile/dynamic.json”,
                              “refresh”: “6000”,
                              “displayNumberUnit”: “%”
                      },
    …
    

    For more information please see the following docu here: https://help.sap.com/saphelp_uiaddon10/helpdata/en/4d/2b9e3c92e54b2192f031a2941927d6/content.htm and here: https://help.sap.com/saphelp_snc700_ehp04/helpdata/de/be/0cf40f61184b358b5faedaec98b2da/frameset.htm