Page 1 of 1
Deactivate dialog "Are you sure you want to leave this page"
Posted: Tue Sep 11, 2012 4:33 pm
by beckersbest
Dear experts,
Now in our live environment a second usability question was raised in regards to the dialog boxes the web interface shows in cerstain situations. This time it's the point a user tries to close the TM1 tab in the Internet Explorer (8 or 9).
Usually the following popup box appears:
In general no problem. As some of our users have access to our system through a Cisco firewall webinterface it seems that you have to click "Leave this page" a thousand times until the tab is closed

... and there's no way to get out of this dialog, even "Stay on this page" doesn't work anymore when you are in this loop. And this behaviour really put on our user's nervs.
As we've no possibility to adjust the firewall webinterface I'm now searching for a possibility to deactivate this popup box and closing the tab without further notification. Is there any parameter in the web.config / tm1s.config or any other config file?
Thanks again for your support,
best regards
Thorsten
Re: Deactivate dialog "Are you sure you want to leave this p
Posted: Tue Sep 11, 2012 8:02 pm
by lotsaram
You can't train the users to click log out?
Re: Deactivate dialog "Are you sure you want to leave this p
Posted: Wed Sep 12, 2012 7:18 am
by beckersbest
I try, nevertheless it's interesting and maybe helpful to know if there's a possibility to disable the request.
Best regards
Thorsten
Re: Deactivate dialog "Are you sure you want to leave this p
Posted: Fri Sep 14, 2012 12:59 am
by TrailRunnerMark
There's a logout button? In our environment, CX 9.5 IE9, I've never been able to find one. We've just ignored the annoying message.
Re: Deactivate dialog "Are you sure you want to leave this p
Posted: Fri Sep 14, 2012 1:14 am
by Alan Kirk
TrailRunnerMark wrote:There's a logout button? In our environment, CX 9.5 IE9, I've never been able to find one. We've just ignored the annoying message.
I think that the original question related to TM1 Web rather then CX, which I haven't used operationally so it may not be the same. In TM1 Web up in the top right near the frapping IBM logo there are About, Help, and Log Out links.
Unfortunately I don't have a better answer for the OP than Lotsaram did because I'm only just getting back into Web at the moment... but there may not actually be one anyway.
Re: Deactivate dialog "Are you sure you want to leave this p
Posted: Fri Sep 14, 2012 1:21 am
by TrailRunnerMark
Sadly, no button for us. An About, a Help, and a pretty logo.

- CX Websheet.JPG (21.54 KiB) Viewed 7825 times
Luckily we only get the message once.

Each time.
Re: Deactivate dialog "Are you sure you want to leave this p
Posted: Fri Sep 14, 2012 8:35 am
by Wim Gielis
Hi there
It's indeed very strange why CX does not have that Log out link, while in TM1 Web it's there...
(But hey, IBM so... maybe not that strange at all that something is missing... ;-( )
Here's how you can fix it.
Go to the file TM1WebTop.aspx, probably somewhere at:
“C:\Program Files (x86)\IBM\Cognos Express\Xcelerator\TM1Web\TM1WebTop.aspx”.
Change:
<li><a href="#" onclick="ShowHelp()"><%=lblHelp%></a></li>
<% if (m_bIsXceleratorMode == false)
{ %>
<li><a href="#" onclick="Logout()"><%=lblLogout%></a></li>
To:
<li><a href="#" onclick="ShowHelp()"><%=lblHelp%></a></li>
<% if (m_bIsXceleratorMode == true)
{ %>
<li><a href="#" onclick="Logout()"><%=lblLogout%></a></li>
So change false to true.
Refresh the page.
Wim
Re: Deactivate dialog "Are you sure you want to leave this p
Posted: Fri Sep 14, 2012 4:42 pm
by TrailRunnerMark
Thanks Wim,
Your MVP status is well deserved! We made the change to the HTML and the logout link appears and works as advertised. Now I can't even remember what that crazy old message said.

Re: Deactivate dialog "Are you sure you want to leave this p
Posted: Fri Sep 14, 2012 6:35 pm
by Wim Gielis
TrailRunnerMark wrote:Thanks Wim,
Your MVP status is well deserved! We made the change to the HTML and the logout link appears and works as advertised. Now I can't even remember what that crazy old message said.

You're welcome, thanks for the feedback!