Skip to Content

Running a specific view in SAP Web IDE to test

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 16 at 01:48 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • 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.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.