如何使用概述页面应用程序卡导航到另一个fiori应用程序?

时间:2017-09-05 12:50:11

标签: navigation sap-fiori

我正在尝试通过点击概述页面应用程序中的分析卡标题导航到另一个 Fiori 应用,但它给了我错误

  

" NavigationHandler.isIntentSupported.Failed"

有谁可以告诉我导航的步骤?

2 个答案:

答案 0 :(得分:0)

Here它说: “配置基于意图的导航的首选方法是使用”DataFieldForIntentBasedNavigation“。 但是,在导航到未配置为目标映射的特定应用程序路由的情况下, 您还可以使用“DataFieldWithUrl”来构造特定的应用程序路径。 概述页面将标识这是基于意图的导航,并在相关选项卡中的相关上下文中打开应用程序。“

link也可能有所帮助。

答案 1 :(得分:-1)

下面是我的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"
        }
    }