Skip to Content
2
Jul 31, 2019 at 01:07 AM

How to add external apps/links on fiori lanchpad on Cloud Foundry?

1053 Views

Dear experts

I have a question about the way of adding external apps on Fiori launchpad on Cloud Foundry.

First, I prepare the Multi-Target Application project in WebIDE and also created SAP Fiori Launchpad Site module and HTML5 module in the project.

I edited CommonDataModel.json file to add external links such as our customer official site or amazon web site. After that, I built and deployed my project. However, I got some error below.

-----------------------------------------------------------error start-----------------------------------------------------------

Application "flp" staged Executing task "deploy" on application "flp"... Execution of task "deploy" failed. Download the application logs "flp", via the dmol command, and check them for more information. Unexpected error: A step of the process has failed. Retrying it may solve the issue. To download logs of the process, use the multi-target application plug-in for the Cloud Foundry CLI command "cf dmol -i 141735693" directly in your Cloud Foundry space. For more information see https://help.sap.com/viewer/65de2977205c403bbc107264b8eccf4b/Cloud/en-US/e93b231895b64cbc9221a62953563a6f.html. Job failed.

-----------------------------------------------------------error end-----------------------------------------------------------

If MTA doesn't contain external links, then deploy command has successded.

How can I add external apps on fiori launchpad?

?Screen Shot

screen1.png

screen2.png

screen3.png

screen4.png

?CommonDataModel.json

{
	"_version": "3.0.0",
	"identification": {
		"id": "abeb836b-f67d-461c-840f-d18215bfbd24-1564119215886",
		"entityType": "bundle"
	},
	"payload": {
		"catalogs": [{
			"_version": "3.0.0",
			"identification": {
				"id": "defaultCatalogId",
				"title": "{{title}}",
				"entityType": "catalog",
				"i18n": "i18n/defaultCatalogId.properties"
			},
			"payload": {
				"viz": []
			}
		}],
		"groups": [{
			"_version": "3.0.0",
			"identification": {
				"id": "defaultGroupId",
				"title": "{{title}}",
				"entityType": "group",
				"i18n": "i18n/defaultGroupId.properties"
			},
			"payload": {
				"viz": [{
					"id": "mms.ui-0-1564119239204",
					"appId": "mms.ui",
					"vizId": "object1-action1"
				}, {
					"id": "https://www.amazon.com/-1-1564534828619",
					"appId": "https://www.amazon.com/"
				}]
			}
		}, {
			"_version": "3.0.0",
			"identification": {
				"id": "group2",
				"title": "{{title}}",
				"entityType": "group",
				"i18n": "i18n/group2.properties"
			},
			"payload": {
				"viz": []
			}
		}],
		"sites": [{
			"_version": "3.0.0",
			"identification": {
				"id": "2a8e8a29-745f-47c7-b105-b8eb703d37b7-1564119215886",
				"entityType": "site",
				"title": "SAP Fiori launchpad site on Cloud Foundry",
				"description": "SAP Fiori launchpad site on Cloud Foundry, deployed from SAP Web IDE"
			},
			"payload": {
				"config": {
					"ushellConfig": {
						"renderers": {
							"fiori2": {
								"componentData": {
									"config": {
										"applications": {
											"Shell-home": {}
										}
									}
								}
							}
						}
					}
				},
				"groupsOrder": ["defaultGroupId", "group2"],
				"sap.cloud.portal": {
					"config": {
						"theme.id": "sap_fiori_3",
						"theme.active": ["sap_fiori_3", "sap_belize_hcb", "sap_belize_hcw"]
					}
				}
			}
		}]
	}
}

?Reference

I referred to some sap blogs below, but there is no answer.

?https://blogs.sap.com/2018/10/28/develop-your-first-sap-fiori-launchpad-site-with-portal-service-on-sap-cloud-platform-multi-cloud/

?https://blogs.sap.com/2018/10/29/develop-your-first-sap-fiori-launchpad-site-with-portal-service-on-sap-cloud-platform-multi-cloud-chapter-2/

Best Regards

Yutaro

Attachments

screen1.png (211.2 kB)
screen2.png (67.0 kB)
screen3.png (76.7 kB)
screen4.png (91.9 kB)