3

How to deploy multiple intents of same Fiori app t... - SAP Community

 2 weeks ago
source link: https://community.sap.com/t5/technology-q-a/how-to-deploy-multiple-intents-of-same-fiori-app-to-work-zone/qaq-p/12795041
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to deploy multiple intents of same Fiori app to Work Zone

MikeDoyle

Active Contributor

on

‎10-12-2023

I am migrating a custom Fiori app from Neo (Portal Service) to Cloud Foundry (Work Zone, Standard Edition). The app has 4 different tiles in Neo. There are 2 different variants of information to be displayed. Additionally there is a mode for each user to see their own data and a mode for a central finance team to see data for everyone. Hence 2 x 2 = 4 tiles in Neo.

For now I am just trying to deploy 2 intents to Work Zone. I deploy my single MTA, then I hit the Update Content button against the HTML5 Apps channel in the Channel Manager.

I expect to see 2 apps in the Content Explorer however I only see 1. Now, as a workaround I can create a local copy of the app that does appear, varying the text and the parameters. However I would like to avoid this step and simply have all the apps created after MTA deployment.

Has anyone got this to work? Or is it a known issue (or worse, 'a feature')?

Here is a sanitised extract from the sap.app section of my manifest.json

"crossNavigation": {            "inbounds": {                "Info-display": {                    "signature": {                        "parameters": {                            "variant": {                                "defaultValue": { "format": "plain",                                                    "value": "a" }                            }                        },                        "additionalParameters": "allowed"                    },                    "semanticObject": "Info",                    "action": "display",                    "title": "My App - My Info",                    "subTitle": "",                    "icon": "sap-icon://capital-projects"                },                "Info-displayAll": {                    "signature": {                        "parameters": {                            "variant": {                                "defaultValue": { "format": "plain",                                                    "value": "b" }                                },                            "otherParam": {                                "defaultValue": { "format": "plain",                                                    "value": "XYZ" }                                }                        },                        "additionalParameters": "allowed"                    },                    "semanticObject": "Info",                    "action": "displayAll",                    "title": "My App - All Info",                    "subTitle": "",                    "icon": "sap-icon://capital-projects"                }            }        }

I note this older unanswered question, which is essentially asking the same question, but about a predecessor product.

https://answers.sap.com/questions/13359496/app-with-multiple-intents-on-managed-launchpad.html


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK