Deactivate dialog "Are you sure you want to leave this page"

Post Reply
beckersbest
Posts: 12
Joined: Fri Mar 30, 2012 2:10 pm
OLAP Product: IBM Cognos TM1
Version: 10.1
Excel Version: 2010

Deactivate dialog "Are you sure you want to leave this page"

Post 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:
Image

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
lotsaram
MVP
Posts: 3702
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Deactivate dialog "Are you sure you want to leave this p

Post by lotsaram »

You can't train the users to click log out?
beckersbest
Posts: 12
Joined: Fri Mar 30, 2012 2:10 pm
OLAP Product: IBM Cognos TM1
Version: 10.1
Excel Version: 2010

Re: Deactivate dialog "Are you sure you want to leave this p

Post 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
TrailRunnerMark
Posts: 9
Joined: Wed Mar 07, 2012 11:06 pm
OLAP Product: Cognos Express
Version: 10.2.2
Excel Version: 2007 2010
Location: Vancouver, Canada

Re: Deactivate dialog "Are you sure you want to leave this p

Post 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.
Alan Kirk
Site Admin
Posts: 6647
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: Deactivate dialog "Are you sure you want to leave this p

Post 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.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
TrailRunnerMark
Posts: 9
Joined: Wed Mar 07, 2012 11:06 pm
OLAP Product: Cognos Express
Version: 10.2.2
Excel Version: 2007 2010
Location: Vancouver, Canada

Re: Deactivate dialog "Are you sure you want to leave this p

Post by TrailRunnerMark »

Sadly, no button for us. An About, a Help, and a pretty logo. :cry:
CX Websheet.JPG
CX Websheet.JPG (21.54 KiB) Viewed 7347 times
Luckily we only get the message once. :D Each time.
Wim Gielis
MVP
Posts: 3230
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Deactivate dialog "Are you sure you want to leave this p

Post 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
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
TrailRunnerMark
Posts: 9
Joined: Wed Mar 07, 2012 11:06 pm
OLAP Product: Cognos Express
Version: 10.2.2
Excel Version: 2007 2010
Location: Vancouver, Canada

Re: Deactivate dialog "Are you sure you want to leave this p

Post 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. :D
Wim Gielis
MVP
Posts: 3230
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Deactivate dialog "Are you sure you want to leave this p

Post 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. :D
You're welcome, thanks for the feedback!
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Post Reply