Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

How to use intent Based CrossAppNavigation to jump between apps?

$
0
0

Hi,

 

I am working on a project with several tiles (apps) and at the moment I am stock on how to get a CrossAppNavigation working.

I did read all the SAP documentation on this mater but none show a full example on to get it working and explaining its requests (index.html, component.js, etc) the best one can find is a peace of code as example on this documentation (http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/907ae317-cb47-3210-9bba-e1b5e70e5c79?QuickLink=index&…).

I paste the code from page 8 to handle event function and add the sap.ushell on the index.html file; but the system keeps telling the ".services" is not know and then the "getService(""). is not apllied..




var xnavservice =
sap.ushell &&

sap.ushell.Container &&

sap.ushell.Container.getService
&&

sap.ushell.Container.getService("CrossAppNavitgation");

var href = (
xnavservice &&

xnavservice.hrefForExternal({

target : { semanticObject : "BaseInstalada", action : "abrir" },

params : { "IBASE" : "200243" }

})

) || "";

On the index.html

 

data-sap-ui-libs="sap.m, sap.ui.layout, sap.ushell"

Many thanks for any help you might supply.


Viewing all articles
Browse latest Browse all 9091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>