2017-09-05 46 views

回答

0

Here它說: 「配置基於意圖的導航的首選方法是使用」DataFieldForIntentBasedNavigation「。 然而,在導航到未配置爲目標映射, 也可以使用「DataFieldWithUrl」來構造特定的應用路線的特定應用程序的路由的情況。 概述頁面將標識這是基於意圖的導航並在相關的上下文中打開相同的選項卡中的應用程序。「

link也可能有所幫助。

+0

我使用的代碼從給定的鏈接,但沒有奏效。 它仍然顯示錯誤 「導航到不支持的應用程序」。 – nsingh

+0

您的概述頁面是否在運行其他應用程序的Launchpad中運行? –

+0

是的,它在同一個啓動板中。 – nsingh

0

下面是我的manifest.json

{ 
     "_version": "1.5.0", 
     "start_url": "start.html", 
     "sap.app": { 
      "id": "Overview", 
      "type": "application", 
      "i18n": "i18n/i18n.properties", 
      "applicationVersion": { 
       "version": "1.2.2" 
      }, 
      "title": "{{app_title}}", 
      "description": "{{app_description}}", 
      "ach": "sap", 
      "resources": "resources.json", 
      "dataSources": { 
       "OVERVIEWPAGE_SRV": { 
        "uri": "/sap/opu/odata/ibscms/OVERVIEWPAGE_SRV/", 
        "type": "OData", 
        "settings": { 
         "localUri": "localService/OVERVIEWPAGE_SRV/metadata.xml", 
         "annotations": ["dmAnnot"] 
        } 
       }, 
       "dmAnnot": { 
        "type": "ODataAnnotation", 
        "uri": "localService/OVERVIEWPAGE_SRV/dmAnnot.xml", 
        "settings": { 
         "localUri": "localService/OVERVIEWPAGE_SRV/dmAnnot.xml" 
        } 
       } 
      }, 
      "sourceTemplate": { 
       "id": "OVP.cardtemplate", 
       "version": "0.0.0" 
      }, 
      "crossNavigation": { 
       "inbounds": {} 
      } 
     }, 
     "sap.ui": { 
      "technology": "UI5", 
      "icons": { 
       "icon": "" 
      }, 
      "deviceTypes": { 
       "desktop": true, 
       "tablet": true, 
       "phone": true 
      }, 
      "supportedThemes": ["sap_hcb", "sap_belize"] 
     }, 
     "sap.ui5": { 
      "dependencies": { 
       "minUI5Version": "1.32.0", 
       "libs": { 
        "sap.ui.core": {}, 
        "sap.m": {}, 
        "sap.ui.layout": {}, 
        "sap.f": {}, 
        "sap.ushell": {}, 
        "sap.collaboration": {}, 
        "sap.ui.comp": {}, 
        "sap.uxap": {}, 
        "sap.ovp": {} 
       } 
      }, 
      "models": { 
       "i18n": { 
        "type": "sap.ui.model.resource.ResourceModel", 
        "uri": "i18n/i18n.properties" 
       }, 
       "OVERVIEWPAGE_SRV": { 
        "dataSource": "OVERVIEWPAGE_SRV", 
        "settings": {} 
       }, 
       "@i18n": { 
        "type": "sap.ui.model.resource.ResourceModel", 
        "uri": "i18n/i18n.properties" 
       } 
      }, 
      "extends": { 
       "extensions": {} 
      }, 
      "contentDensities": { 
       "compact": true, 
       "cozy": true 
      } 
     }, 
     "sap.ovp": { 
      "globalFilterModel": "OVERVIEWPAGE_SRV", 
      "globalFilterEntityType": "DmHeader", 
      "cards": { 
       "Overview_card00": { 
        "model": "OVERVIEWPAGE_SRV", 
        "template": "sap.ovp.cards.table", 
        "settings": { 
         "title": "{{Overview_card00_title}}", 
         "entitySet": "DmCoSet", 
         "addODataSelect": "false", 
         "selectionAnnotationPath": "com.sap.vocabularies.UI.v1.SelectionVariant#artistS", 
         "annotationPath": "com.sap.vocabularies.UI.v1.LineItem#artistD", 
         "identificationAnnotationPath": "com.sap.vocabularies.UI.v1.Identification#bar" 
        } 
       }, 
       "Overview_card02": { 
        "model": "OVERVIEWPAGE_SRV", 
        "template": "sap.ovp.cards.charts.analytical", 
        "settings": { 
         "title": "{{Overview_card02_title}}", 
         "entitySet": "DmCostSet", 
         "selectionAnnotationPath": "com.sap.vocabularies.UI.v1.SelectionVariant#costFilter", 
         "dataPointAnnotationPath": "com.sap.vocabularies.UI.v1.DataPoint#chartD",     "chartAnnotationPath": "com.sap.vocabularies.UI.v1.Chart#chart1", 
         "identificationAnnotationPath": "com.sap.vocabularies.UI.v1.Identification#bar", 
         "navigation": "dataPointNav" 
        } 
       } 

      } 
     }, 
     "sap.platform.hcp": { 
      "uri": "webapp", 
      "_version": "1.1.0" 
     } 
    } 
相關問題