cancel
Showing results for 
Search instead for 
Did you mean: 

Not Able to Navigate From one Page to another Page in SAP Web IDE..???

virendra_soni2
Participant
0 Kudos

Hi All

                        I have Create many Pages In SAP WEB IDE. but Navigation From one Page to Another Page is not working.

   In Eclipse Same code is working fine

          please share any help for   Navigation Code In SAP WEB IDE

Regards ,

Virendra Kumar Soni

Accepted Solutions (1)

Accepted Solutions (1)

karthikarjun
Active Contributor
0 Kudos

Hi Viendra,

Webide 1.30:

1. Project structure is different from prev version, you could have to use routing concepts or use App container to navigate your page.

Working code:

this.setHeight("100%");

     sap.ui.localResources("view");   

     var app = new sap.m.App("myApplication");

     var dashboard = sap.ui.view({ 

            id:"dashboard", 

            viewName:"SAP_M_TileNav.view.V2", 

            type:sap.ui.core.mvc.ViewType.JS 

            });  

            app.addPage(dashboard);

           

           

            var dashboard1 = sap.ui.view({ 

            id:"dashboard3", 

            viewName:"SAP_M_TileNav.view.V3", 

            type:sap.ui.core.mvc.ViewType.JS 

            });  

            app.addPage(dashboard1);

            

           

            return app;

Thanks,

Karthik A

Answers (1)

Answers (1)

Private_Member_15166
Active Contributor
0 Kudos

What you are doing? Please explain a little more and provide your code here.

virendra_soni2
Participant
0 Kudos

Hi Dhananjay

                  In this Page there is a  Link (label as New). when i click this New .then it should Navigate New Page .  But I want Code Which should be run in WEB IDE not in Eclipse

Regards ,

Virendra Kumar Soni