Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

Re: Logout-button back to login-page with sapui5? (student-question)

$
0
0

This worked for me:

oShell.attachLogout(function(){ 
jQuery.ajax({
url: '/sap/public/bc/icf/logoff',
async: false
}).success(function(){
alert('You have been logged out');
}).complete(function(){
location.reload();
});
     });

Considering oShell is an sap.ui.ux3.Shell() object.

I'm using NetWeaver 7.4.


Viewing all articles
Browse latest Browse all 8124

Trending Articles



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