[Resolved] Management portal auto refresh
Does anyone know how to disable the auto-refresh in Healthshare, especially for Message viewer , Business process designer, DTL editor pages?
These pages in management portal refresh every 15min( i.e. as per the session time out setting) . I tried to set the following two configs to disable the auto refresh but both had no impact.
set ^EnsPortal("DisableInactivityTimeout","Portal") = 1
set ^%SYS("Portal","EnableAutoRefresh") = 1
Thank you for your help.
Mary
Hello Mary
Prevent page refresh at session end - #;YSD2224
I solved this problem in this way. Found by context
method ##class(%CSP.Util.AutoPage) .DrawAutoLogout ()
Modified the place:
...
If % request.URL'["UtilSqlQuery.csp" {
...
I think there is something similar in the Healthshare portal.
But you'd better contact WRC.
Thank you Sergey. I will check this.
As Sergey suggests, you shouldn't make this (or any) change to management portal pages shipped with InterSystems products. Please reach out to the WRC so they can investigate this behavior with you.
I'm pretty sure you want the value to be 0 for the second option:
Hi Jeffrey,
I did try both option below but both had no impact on the behavior.
set ^%SYS("Portal","EnableAutoRefresh")=0
and
set ^%SYS("Portal","EnableAutoRefresh")=1
Intersystem Documentation for this is a bit confusing for this one but what I understand is : setting EnableAutoRefresh =1 actually make automatic refreshes off by default.
https://docs.intersystems.com/healthconnectlatest/csp/docbook/Doc.View.c...
Do you have ^EnsPortal("DisableInactivityTimeout","Portal")=1 in each namespace that's running a production? It's not mapped from another namespace.
I suspect Jeffrey is onto the right track here, but do note that as the documentation indicates, the optional auto-refresh feature and automatic logout behavior are separate settings.
Also, keep in mind that the automatic logout was added for security reasons. if you want to avoid logouts, another option would be to increase the session timeouts, but keep in mind how long you actually want users to stay logged in.
Thanks @Jeffrey Drumm
Setting the config for each namespace worked.
Social networks
InterSystems resources
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue
Log in or sign up
Log in or create a new account to continue