leederbyshire.com
Welcome to www.leederbyshire.com - Mobile MS Exchange web applications.
CONTACT
leederbyshire.com
HOME

OWA FOR PDA

BUY ONLINE

DOWNLOADS

TESTIMONIALS

SCREENSHOTS

FAQ

MANUALS

OTHER UTILITIES

UPGRADE

ARTICLES

Display A Pop-Up Message To Your Users In Microsoft Outlook Web Access 2010

Back to Articles page

This article will show how you can get OWA to display a pop-up message to your users each time they log in. An organisation might want to do this to remind someone logging in that they are accessing private data.

First, locate the startpage.aspx file in C:\Program Files\Microsoft\Exchange Server\v14\ClientAccess\Owa\forms\premium . Make a backup copy, then open it in Notepad. Press F3 to search for the text <body. Immediately after it, insert a block of code, like this:

  <script language="JavaScript">
  alert(
  "You are about to enter\n" +
  "a private web site."
  );
  </script>

Note that the message above is a two-line message. The \n at the end of the first line tells the browser to display the second line of text on a new line. Save the file and close it, and you're finished.

That takes care of the Premium OWA GUI. The Basic one is a little more tricky. Locate the basicmessageview.aspx file in C:\Program Files\Microsoft\Exchange Server\v14\ClientAccess\Owa\forms\basic . Make a backup copy, then open it in Notepad. Again, press F3 to search for the text <body. Immediately after it, insert a block of code, like this:

  <script language="JavaScript">
  if(window.location.href.toUpperCase().indexOf("/OWA/?") == -1)
    alert(
    "You are about to enter\n" +
    "a private web site."
    );
  </script>

Save the file and close it, and you're finished doing the Basic client.

As with most of these type of modifications, you will need to check that they still function after each product update. Sometimes your modified file will be replaced by a new one from the update.

Copyright © 2003 - 2012 Lee Derbyshire. All rights reserved.

Microsoft MVP OISV ShareIt! RSS MSExchange.org Reader's choice OWA Addons 1st runner-up