Sorry I do not.  I found the opener='x' trick while I was replying.  We have
used the window.close for a while and was looking up the exact syntax when I
stumbled upon this additional step.  I didn't test it thoroughly enough
though

To test I put it behind a button on a test form that is set as my Home
Page.  I opened the test from by clicking the Home Page button from a
different form.  This opened a new child window where I would close it by
using the window.close AL behind a button.  This worked because it was a
child to another browser instance opened by MT.  If I go directly to my test
form and use the button I receive the same prompt as you do.

I removed the opener='x' and the behavior does not change at all.  A child
closes with no problem but going to the page directly prompts me.  The
opener='x' was not doing anything useful.

The warning is really designed as a security feature.  Older browsers used
to allow it but it seems most of the holes to override the warning have been
filled.

The only other thing I can think of is to redesign how the form is opened.
If you can open the form with an Open Windows action then it has been opened
by javascript and is now the child.  Not sure exactly the flow of what you
are doing but even a redundant Open Windows is sufficient to make the window
a child.  For example have an AL that fires on Display or Window Loaded that
automatically reopens the same form.  The trick here would be to qualify it
with a Run If so it doesn't loop.

Jason

On Mon, Mar 29, 2010 at 12:29 PM, Wacholz, Jenni <[email protected]> wrote:

> **
> Hi Jason,
>
> Closing the window is more important in this case than actually logging out
> of Remedy as the main requirement is to force users to log back into Remedy
> using their correct credentials. This AL only fires if the user is logged in
> with one specific generic account ID.
>
> The javascript:window.opener='x';window.close() works great except that I
> do still get the prompt that says "The page is trying to close the
> window"). Any further ideas on how to override that prompt?
>
> Thanks!
>
> Jenni Wacholz
> 480-445-2517
> WFH Wednesdays  602-606-7484
>
>
>  ------------------------------
> *From:* Action Request System discussion list(ARSList) [mailto:
> [email protected]] *On Behalf Of *Jason Miller
> *Sent:* Monday, March 29, 2010 10:59 AM
>
> *To:* [email protected]
> *Subject:* Re: How can I close browser windows from an active link?
>
> ** Hi Jenni,
>
>
> Try this in your Run Process
>
> javascript:location='http://
> <actualservername>/arsys/servlet/LogoutServlet?goto=
> http://cvtynet.cvty.com'
>
> This will tell your browser's address bar to call the LogoutServlet which
> will do the redirect to cvtynet.cvty.com.
>
> If you want to close the browser windows try this in your run process
>
> javascript:window.opener='x';window.close()
>
> (the opener='x' piece overrides the prompt that says "The page is trying to
> close the window")
>
> The window.close will not perform the log out but will close the browser.
> If you want all of the MT browser instances to close you could send an event
> to trigger the close AL.
>
> HTH,
> Jason
>
> On Mon, Mar 29, 2010 at 9:35 AM, Wacholz, Jenni <[email protected]> wrote:
>
>> It fires on Window Loaded. I can see in the AL web log that is it firing.
>> And the warning message that is the action before the run process in that
>> active link is displayed correctly.
>>
>> Sounds like I'll have to go to BMC with this one.
>>
>> Thanks for trying, James!
>>
>> Jenni Wacholz
>> 480-445-2517
>> WFH Wednesdays  602-606-7484
>>
>> -----Original Message-----
>>  From: Action Request System discussion list(ARSList) [mailto:
>> [email protected]] On Behalf Of jham36
>> Sent: Monday, March 29, 2010 9:21 AM
>> To: [email protected]
>> Subject: Re: How can I close browser windows from an active link?
>>
>> I don't know what's wrong.  I just tried it on my mid tier and it worked.
>>  I did it without an active link.  I manually entered the URL in the address
>> bar.
>> http://<actualservername>/arsys/servlet/LogoutServlet?goto=http;//
>> www.msn.com
>>
>> How are you calling the active link?
>>
>>
>> James
>>
>> On Mar 29, 11:24 am, "Wacholz, Jenni" <[email protected]> wrote:
>> > Thanks, James!
>> >
>> > That's what I'm doing now but no matter what I put after the "goto=" I
>> > just get the Remedy login screen back. Here's what I have in my Run
>> Process:  http://<actualservername>/arsys/servlet/LogoutServlet?goto=
>> http://cvtynet.cvty.com/. I also tried it as http://
>> <actualservername>/arsys/servlet/LogoutServlet?goto=cvtynet.cvty.com /
>> but that also took me back to the Remedy login screen.
>> >
>> > Any idea what I'm doing wrong?
>> >
>> > Jenni Wacholz
>> > 480-445-2517
>> > WFH Wednesdays  602-606-7484
>> >
>> >
>> >
>> > -----Original Message-----
>> > From: Action Request System discussion list(ARSList)
>> > [mailto:[email protected]] On Behalf Of jham36
>> > Sent: Monday, March 29, 2010 7:40 AM
>> > To: [email protected]
>> > Subject: Re: How can I close browser windows from an active link?
>> >
>> > I found this on page 126 and 127 of the 7.1 mid tier guide.
>> >
>> > http://<mid_tier_server>/arsys/servlet/LogoutServlet?goto=<URL>
>> > The user logs out and goes directly to the specified URL
>> >
>> > You can call the LogoutServlet and then redirect them to the login page
>> or anywhere else you want.
>> >
>> > James
>> >
>> > On Mar 29, 10:31 am, "Wacholz, Jenni" <[email protected]> wrote:
>> > > Hi List,
>> >
>> > > I have one very specific situation in which I need to close all open
>> > > browser windows from an active link. I know how to redirect back to
>> > > the login screen but that doesn't actually remove the login
>> > > information from Explorer. So if the user tries to login from there
>> > > they are logged in as the previous logged in user no matter what
>> > > they enter in the login fields. Or, perhaps there is some way to
>> > > clear the login information from the Explorer cache?
>> >
>> > > Any suggestions are welcome. Thanks!
>> >
>> > > Jenni Wacholz
>> > > Enterprise Remedy Developer
>> > > Coventry Health Care Inc
>> > > 480-445-2517
>> >
>> > > Data Classification: Public
>> >
>> > > Email Confidentiality Notice: The information contained in this
>> transmission is confidential, proprietary or privileged and may be subject
>> to protection under the law, including the Health Insurance Portability and
>> Accountability Act (HIPAA).
>> >
>> > > The message is intended for the sole use of the individual or  entity
>> to whom it is addressed.  If you are not the intended recipient, you are
>> notified that any use, distribution or copying of the message is strictly
>> prohibited and may subject you to criminal or civil penalties.  If you
>> received this transmission in error, please contact the sender immediately
>> by replying to this email and delete the material from any  computer.
>> >
>> > > ____________________________________________________________________
>> > > __ _____ ____ UNSUBSCRIBE or access ARSlist Archives
>> > > atwww.arslist.org attend wwrug10www.wwrug.comARSlist:"Where the
>> > > Answers Are"
>> >
>> > ______________________________________________________________________
>> > _____ ____ UNSUBSCRIBE or access ARSlist Archives
>> atwww.arslist.orgattend wwrug10www.wwrug.comARSlist: "Where the Answers Are"
>> >
>> > Email Confidentiality Notice: The information contained in this
>> transmission is confidential, proprietary or privileged and may be subject
>> to protection under the law, including the Health Insurance Portability and
>> Accountability Act (HIPAA).
>> >
>> > The message is intended for the sole use of the individual or  entity to
>> whom it is addressed.  If you are not the intended recipient, you are
>> notified that any use, distribution or copying of the message is strictly
>> prohibited and may subject you to criminal or civil penalties.  If you
>> received this transmission in error, please contact the sender immediately
>> by replying to this email and delete the material from any  computer.
>> >
>> > ______________________________________________________________________
>> > _____ ____ UNSUBSCRIBE or access ARSlist Archives atwww.arslist.org
>> > attend wwrug10www.wwrug.comARSlist: "Where the Answers Are"
>>
>>
>> _______________________________________________________________________________
>> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10
>> www.wwrug.com ARSlist: "Where the Answers Are"
>>
>>
>>
>> Email Confidentiality Notice: The information contained in this
>> transmission is confidential, proprietary or privileged and may be subject
>> to protection under the law, including the Health Insurance Portability and
>> Accountability Act (HIPAA).
>>
>> The message is intended for the sole use of the individual or  entity to
>> whom it is addressed.  If you are not the intended recipient, you are
>> notified that any use, distribution or copying of the message is strictly
>> prohibited and may subject you to criminal or civil penalties.  If you
>> received this transmission in error, please contact the sender immediately
>> by replying to this email and delete the material from any  computer.
>>
>>
>> _______________________________________________________________________________
>>  UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
>> attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"
>>
>
> _attend WWRUG10 www.wwrug.com ARSlist: "Where the Answers Are"_
>
> Email Confidentiality Notice: The information contained in this
> transmission is confidential, proprietary or privileged and may be subject
> to protection under the law, including the Health Insurance Portability and
> Accountability Act (HIPAA). The message is intended for the sole use of the
> individual or entity to whom it is addressed. If you are not the intended
> recipient, you are notified that any use, distribution or copying of the
> message is strictly prohibited and may subject you to criminal or civil
> penalties. If you received this transmission in error, please contact the
> sender immediately by replying to this email and delete the material from
> any computer. _attend WWRUG10 www.wwrug.com ARSlist: "Where the Answers
> Are"_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"

Reply via email to