Hello Experts,
I want to use Browser favorites in my portal (not Portal Favorites).
In order to do that I need the navigation path in the location bar of the browser.
I have custom TLN (hover) and I changed EPCM.doNavigate(node) to window.top.location="/irj/portal?NavigationTarget="+node and it works.
I want to do the same for DTN without rewriting it.
I downloaded the 'com.sap.portal.navigation.afp.dtn' project, opened the 'dtn_functions.js' and found several references to 'LSAPI.AFPPlugin.service.navigate':
top.LSAPI.AFPPlugin.service.navigate(node,node.getShowType(),'ExecuteLocally=true');
top.LSAPI.AFPPlugin.service.navigate(node,node.getShowType(),'ExecuteLocally=true');
top.LSAPI.AFPPlugin.service.navigate(node, showType,'ExecuteLocally=true');
top.LSAPI.AFPPlugin.service.navigate(node, showType, 'ExecuteLocally=true');
LSAPI.AFPPlugin.service.navigate(linkTarget, linkShowType, null, null, link.winFeaturs);
LSAPI.AFPPlugin.service.navigate(this.linkNodeURI, this.showType,null, null, link.winFeaturs);
top.LSAPI.AFPPlugin.service.navigate(node,node.getShowType(),'ExecuteLocally=true');
can I change all the LSAPI references to window.top.location="/irj/portal?NavigationTarget="+node ?
Will it work without breaking the DTN functionality?
Regards,
Omri