Let's follow up this discussion at the Neptune Community

(this forum will be kept in read-only mode)
Solved

Calling a Different application From One Application

Hi All , 


I have a page having 3 tile , i need to call a different application on click of one tile , how can i achieve this functionality . 


Regards

Ashutosh


1 person has this problem

Hi Ashutosh


Navigating to a new application is done in two different ways, using the press event on the tile.


1) Using AppCache (Bundle App/Mobile App):


Use the method: AppCache.Load("yourApp");


Navigating back again: AppCache.Back();


2) Normal App, running in your browser with URL:


jQuery.sap.require("sap.m.URLHelper");


// Link to new page

// Use 2. parameter for new window or not

sap.m.URLHelper.redirect(yourURL, true);


Regards

Ole Andre 


Hi Ole,

 

I am also facing similar issue.

 

By using URLHelper I am navigating to another App.

 

If we use URLHelper we are navigating to Application starting page, but i want navigate particular page which i need.

 

Is it possible to pass values in URLHelper?

 

 

Can you please help me out.


Thank You,

D Mohanbabu

Hi D Mohanbabu,


If you are calling a URL, you can pass (GET) parameters in the URL. For example:


parameter = "q=hello";  

yourURL = "http://www.bing.com/search?" + parameter;    // yourURL will contain http://www.bing.com/search?q=hello


// Use 2nd parameter for new window or not

sap.m.URLHelper.redirect(yourURL, true);


Once in your called URL, you will find your parameters in JS location.search variable

Here you have some more info:  https://www.google.com/search?q=js+get+parameters+from+url&rct=j&gws_rd=cr&ei=jfcaWK3TEYGUsgGZ96VA


If you are using Neptune Launchpad and want to Navigate between apps, you should use the AppCache methods:

https://template.neptune-software.com/neptune/sdk/explored.html#doc00163EDC99661EE681FB2D0EC66D40DC


Enjoy !

Julian

Hi Julian,


Thank you very much for you reply.


Regards,

Mohan D

You are welcome, Mohan ;)

Login or Signup to post a comment