leederbyshire.com  Mobile web applications for Microsoft Exchange Server.
HOME OWA FOR PDA BUY ONLINE DOWNLOADS TESTIMONIALS SCREENSHOTS FAQ MANUAL (WIP) UPGRADE ARTICLES CONTACT

OWA Display Message To Users Exchange 2007

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

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\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\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.

Exchange Shared Calendar For Windows Phone
Copyright © 2017 Lee Derbyshire. All rights reserved.