cancel
Showing results for 
Search instead for 
Did you mean: 

Create and Use an XML View

07-22-2025 3:30 PM
arijit678 Newcomer
473 views 1 comments
0 Likes
SAP Managed Tags
Subscribe

Business Scenario

In this exercise, you will create an XML view with a Hello World Text UI element. Then you delete the code that creates a Hello World Text UI element and places it on the HTML page in the module you created in the previous exercise. Instead, you will instantiate the XML view there and place it on the HTML page.

Template:Git Repository: https://github.com/SAP-samples/sapui5-development-learning-journey.git, Branch: sol/3_modules
Model solution:Git Repository: https://github.com/SAP-samples/sapui5-development-learning-journey.git, Branch: sol/4_views

I have done the same solution in BAS but it is showing below error. Could you please help on this.

 

1. Failed to load resource: the server responded with a status of 404 ()Understand this error
index.html:1

2. Refused to execute script from https://port8083-workspaces-ws-osfcd.us10.trial.applicationstudio.cloud.sap/resource/sap-ui-core.js because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.Understand this error
index.html?sap-client=100&sap-ui-xx-viewCache=false:27

3.Uncaught ReferenceError: sap is not defined
at index.html?sap-client=100&sap-ui-xx-viewCache=false:27:13
(anonymous) @ index.html?sap-client=100&sap-ui-xx-viewCache=false:27

0 Likes

Accepted Solutions (0)

Answers (0)