function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Close open tabs in console


I have a console app which is split into 2. I am using a visualforce page to show a list of records inside the console in left side and click of the records open the record detail on the right side of console.
If the users moves out of the console and come back, all the tabs should be closed.
Can anyone please help me with this.

Thanks in advance.
ujwal theja 1ujwal theja 1

I have a concern regarding this.

1.If you want to Close tabs once the session completed : This is possible in configuration.
   Sol:-  Uncheck the "Save User Sessions" checkbox in "Custom App Edit" page.
          User-added image
2.Or If you want to close tabs once the user moved to other app or pages? -> I'm not sure.
    I will try to find out this.
Is this helpful for you?

Ujwal K
Thanks for the response.
Save User Sessions work only when user logs out or close the browser, but i want to close the tabs once user moves out of the app.