on 08-16-2021 2:14 PM
Hey guys,
i have been following this tutorial: https://developers.sap.com/group.dsag-cloud-dev-day-cf.html
I did every step and deployed the app to the btp.
I tested it after deployment and got the same result on the metadata:
After that i went to the HTML5 Applications like in the tutorial and found my managed app router.
There i clicked on it and and saw my tile
But when i click on it i get this error message:
In the F12 console it says:
GET fragebogenservice/$metadata - File not found sap.ui.model.odata.v4.lib._MetadataRequestor
And
The following error occurred while displaying routing target with name 'EigenfremdList': Error: File not found -
The app itself is working in the business application studio.
Also in the chapter "Deploy your application with access control" you adjust the mta.yaml file and add this section:
But after the deployment i went to the destinations in my BTP an saw, that no destination was created. Shouldn't it have been created automatically?
I thought this was what gave me the error, so i created it manually. But i still get the file not found screen.
Can anyone help?
Regards
Cemre
Hi mariusobert,
i know a few months has passed but i was doing different things and now wanted to share my results.
I followed your advice and did the entire tutorial with the original names. In the end everything worked fine.
After that i tried to do it again, but this time with custom names. I actually tried it a few times, with different apps but in the end i always got the same result.
After the deployment i want to test the app, just like the tutorial suggests Step 8: Test the HTML5 app
If i try to access one of the service endpoints or metadata, i also recieve an Unauthorized error
I also checked the destinations and checked the connection
and it returned a successfull connection
Now i did the next thing and tried to access the web application via the managed approuter.
I can see the tile in my Launchpad Sandbox.
If i click on it i get a technical error message
and if i check the console, i get this error
The deployment works fine, but after that i can't access the app or the metadata.
In the tutorial i should be able to see the List Report and choose the columns, but i never get to this point.
Did i do something wrong?
What can i do to fix the problem?
Thanks in advance
Best regards
Cemre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's natural that you can't select columns when the $metadata request failed.
Can you add a screenshot of this request in the network trace where I can see the full URL that you try to access. And can you also add a screenshot of the xs-app.json file as well?
PS: It seems that you changed the names from the tutorial again and didn't follow my original advice: "Maybe it makes sense to follow the entire tutorial once to make sure it works with the original names."
I did the tutorial with the original names and it worked. But now i wanted to do a different app with a different datamodel and with custom names.
Here is the screenshot of the xs-app.json
and the URLs
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.