Skip to Content
0
Jan 12 at 03:47 PM

How do I integrate an UI5 component into another within Fiori Launchpad in the Cloud Foundry?

110 Views Last edit Jan 12 at 03:49 PM 2 rev

Hi everybody,

I want to reuse SAPUI5 components of one app in another SAPUI5 app within a Fiori Launchpad in Cloud Foundry. I already implemented a working solution for NEO. I followed this blog post for CF, but it does not use a Launchpad and it does not work for me.

The biggest difference seems to be that in the xs-app.json of the importing app I use the html5-apps-repo-rt service

{
	"source": "^(.*)$",
	"target": "$1",
	"service": "html5-apps-repo-rt",
	"authenticationType": "xsuaa"
}

How do I configure the mta.yaml and the xs-app.json to reuse a component in a Fiori Launchpad?

Kind regards,

Christian.