• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

[Answered] Disable "Relaunch apps from previous session" message?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Answered] Disable "Relaunch apps from previous session" message?

    Is there a way to disable the "Relaunch apps from previous session" message that appears when a user logs in if they left apps open the last time they logged out? I'm not 100% sure if I want to disable this feature as we're not in production with 5.1 yet, but I'd like to know whether or not it's possible. Thanks!

  • #2
    If you want to stop the relaunch apps snackbar from showing you can update the Hook.js that resides in /YourValenceInstance/resources/desktop/Hook.js.

    Code:
        constructor            : function () {
            var me  = this,
                ns  = Valence.login.Processor.getNamespace(),
                app = (typeof window[ns].getApplication === 'function') ? window[ns].getApplication() : null;
    
            //stop the snackbar message relaunch apps
            //
            sessionStorage.removeItem('valence-last-running-apps');
    
            if (app){

    Comment


    • #3
      Great! Thanks Johnny!

      Comment

      Working...
      X