Limit number of browser tabs opened in Cosmos User Portal
Hi All,
We are currently facing JVM memory saturation issues with some of our 8.6.x applications using Theme-Cosmos v3 where Users tend to open multiple browser tabs by right clicking on case ids. Other possible ways to ensure efficient memory usage by optimizing clipboard size, timeout, passivation etc., are in place. We are now trying to find a way (aside from writing custom JS) to limit the number of browser tabs that Users can open. We have reviewed and tested the solution to completely disable the right click option posted here https://support.pega.com/question/disabling-right-click-across-application, however, that's not what we are looking for.
Are there any known configuration available in the platform to restrict the number of browser tabs ? If not, Is Pega considering to add any configuration / rule in the future version of the product to allow this restriction ?
Thanks
@trina_r
As far as I know, there is no configuration available in the Pega platform to restrict the number of browser tabs that a user can open. Additionally, I am not aware of any plans by Pega to add this type of restriction in future versions of the product.
One possible workaround that you could consider is to implement a custom JavaScript solution that limits the number of tabs a user can open. You mentioned that you would prefer to avoid writing custom JS, but this may be the most feasible option given the current limitations of the platform.
Alternatively, you could explore other ways to improve the memory usage of your application. For example, you could investigate whether there are any opportunities to optimize the use of data pages or declarative rules, which could help to reduce the amount of memory used by your application.
It may also be worth considering whether there are any opportunities to optimize the user experience to discourage users from opening multiple tabs. For example, you could provide more streamlined views of case data within a single browser tab, or provide other ways for users to navigate between cases without needing to open new tabs.