Skip to Content
0
Former Member
Feb 11, 2015 at 08:52 AM

Add function to sap.ui.getCore() ?

53 Views

Hi,

i´m trying to implement an automatic logout functionality in my sapui5 application.

I need to reset an integer every time the user is working with the ui.

Every time i call a function i also call the sap.ui.getCore() because of controller functions so i wish to extend the getCore() function to do this.

I dont want to change the standardcode so what can i do? Is there a better way to get a inactivity timeout in sapui5?

Do i have to add a timeoutrefresh every single time in all of my controlleractions?

Maybe there is a simple way to do this but i don´t know it.

Thank you for ideas and help.

With best regards from germany

Sascha Köhler