cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP Cloud Foundry Launchpad Application Component JS is missing

DebashishDas
Active Participant
7,057

Hi SAP Gurus,

From Past couple of days i was trying to create Fiori app using fiori elements in SAP Business application Studio.

App was created and deployed in cloud foundry successfully. App is working fine from business studio, but from launchpad it is not opening. error was component,js is missing. i was searching for solution but did not find any. Please go though the screenshots.

This is my app structure in Business studio -

App Tile is visible in Content manager -

capture-2.png

capture-3.png

capture-4.png

Accepted Solutions (1)

Accepted Solutions (1)

yuval_morad
Product and Topic Expert
Product and Topic Expert

try to use relative and not absolute url for your datasource

go to manifest and remove leading slash

"mainService": { "uri": "/sap/opu/odata/iwbep/GWSAMPLE_BASIC/",

"mainService": { "uri": sap/opu/odata/iwbep/GWSAMPLE_BASIC/",

DebashishDas
Active Participant
0 Likes

It Works fine.

Answers (4)

Answers (4)

yuval_morad
Product and Topic Expert
Product and Topic Expert

Hi Cameron

I see a mismatch between MTA.yaml and manifest.json with regard to sap.cloud.service

sap.cloud.service: gCLIENt-zsdsalesordermanage

"service": "gCLIENt.zsdsalesordermanage"

I am not aware of a "dot" restriction in the service name but there should be a match otherwise the UI can not be found by managed approuter. The match should be done automatically by the wizard if not done

I can send it to the fiori team to improve the wizard.

Let's have a short call next week, I would like to help you to fix what's left yuval.morad@sap.com

mhdsamsu
Explorer
0 Likes
You saved me.
monicaraj13
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi debashish007,
Do you remember how this issue got resolved?

yuval_morad
Product and Topic Expert
Product and Topic Expert
0 Likes

Please share:

MTA.yaml

project structure

manifest.json

xs-app.json

package.json UI

UI5.yaml

DebashishDas
Active Participant
0 Likes

Hi Yuval,

manifest.txt

mta.txt

DebashishDas
Active Participant
0 Likes

package.txt

ui5.txt

DebashishDas
Active Participant
0 Likes

xs-app.txt

DebashishDas
Active Participant
0 Likes

Project Structure

capture-5.png

gregorw
SAP Mentor
SAP Mentor
0 Likes