Hi experts,
How can we implement a cross application navigation?
This is the code I am trying to execute:
var oCrossAppNavigator = sap.ushell.Container.getService("CrossApplicationNavigation");
oCrossAppNavigator.toExternal({
target:
{ semanticObject : "<SOME_VALUE>", action: "display" }
});
In console I get an error stating "Cannot find Container of undefined".
I have tried adding these line in the index.html before bootstrap
<script src="/sap/public/bc/ui5_ui5/resources/sap/ushell_abap/bootstrap/abap.js"></script> <script src="resources/sap/ushell_abap/bootstrap/abap.js"></script>What is it wrong that I am doing?
Thanks.