cancel
Showing results for 
Search instead for 
Did you mean: 

Running a specific view in SAP Web IDE to test

former_member289648
Discoverer
0 Kudos

Hi,

I am new to working with SAP Web IDE. Here's my question (basic I guess but couldn't find the right answer):

How can I run a specific view (xml) within a project in Web IDE to test it standalone? Say the project has 4 views and I add a new view. If I wish to run it to test, how to do it? Whenever I try to run the view, it is always picking index.html and the other view. Not sure how to point it to pick my new view or if there is a way to test/run the view standalone?

Thanks,

Mohit

Accepted Solutions (0)

Answers (1)

Answers (1)

jhodel18
Active Contributor
0 Kudos

Hi Mohit,

Your question doesn't seem like it is specific to WebIDE. It is more on the side of SAP UI5 and understanding of Routing and Navigation. If you have configured the routing properly, in such a way that you can load the view you want to load then whether you're using WebIDE or some other tool, it will always work (load that view without going to initial page of your app).

Here's the official documentation for Routing and Navigation in SAPUI5:

https://sapui5.hana.ondemand.com/#/topic/3d18f20bd2294228acb6910d8e8a5fb5

former_member289648
Discoverer
0 Kudos

Thanks Jhodel. Yes, maybe it is more on the SAP UI5 side. But my question in simple terms is:

If I add a new view to the existing project, how can I test it standalone in Web IDE? Simple. Why do I have to go through all the routing & associated configuration just to run my new view? Is there a way to just run to view the page in Web IDE?

Regards,

Mohit

jhodel18
Active Contributor
0 Kudos

Hi Mohit,

I guess I'm under the assumption that you are using the standard way of configuring your app through manifest.json. It might be simple to you, but perhaps I need to understand how you have setup your project. But if you are using an application descriptor (manifest.json) then my answer above should be relevant.