none
Simple OWA home page customization RRS feed

  • Question

  • Once a user has logged into OWA, I would like to display a message to the user via a javascript alert.

    How can one accomplish this ? Is there an aspx page associated with the OWA landing page that can be modified to accomplish this ?

    Monday, February 14, 2011 10:13 PM

Answers

  • Okay, find the startpage.aspx inside C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\Forms\Premium .  Make a copy, and open it in Notepad.  Press F3 to search for the text '<body' and on the line after you find it, type

    <script language="javascript">
    alert("Your message here");
    </script>

     


    Outlook Web Access For PDA , OWA For WAP
    www.owa-pda.com
    email a@t leederbyshire d.0.t c.0.m
    • Marked as answer by amarcose Wednesday, February 16, 2011 10:54 PM
    Tuesday, February 15, 2011 4:54 PM
  • Okay, it's a bit trickier for the basic client, but you can add some code into the basicmessageview.aspx file.  Again, look for the <form> tag, and insert this after it:

    <script language="javascript">
    if(window.location.href.toUpperCase().indexOf("/OWA/?") == -1)
      alert("Your message here");
    </script>


    Outlook Web Access For PDA , OWA For WAP
    www.owa-pda.com
    email a@t leederbyshire d.0.t c.0.m
    • Marked as answer by amarcose Wednesday, February 16, 2011 10:54 PM
    Wednesday, February 16, 2011 1:43 PM

All replies

  • Which version of Exchange?
    Outlook Web Access For PDA , OWA For WAP
    www.owa-pda.com
    email a@t leederbyshire d.0.t c.0.m
    Tuesday, February 15, 2011 4:20 PM
  • Exchange 2007
    Tuesday, February 15, 2011 4:26 PM
  • You want it to appear the first time they log in, or every time?
    Outlook Web Access For PDA , OWA For WAP
    www.owa-pda.com
    email a@t leederbyshire d.0.t c.0.m
    Tuesday, February 15, 2011 4:39 PM
  • Every time please.
    Tuesday, February 15, 2011 4:50 PM
  • Okay, find the startpage.aspx inside C:\Program Files\Microsoft\Exchange Server\ClientAccess\owa\Forms\Premium .  Make a copy, and open it in Notepad.  Press F3 to search for the text '<body' and on the line after you find it, type

    <script language="javascript">
    alert("Your message here");
    </script>

     


    Outlook Web Access For PDA , OWA For WAP
    www.owa-pda.com
    email a@t leederbyshire d.0.t c.0.m
    • Marked as answer by amarcose Wednesday, February 16, 2011 10:54 PM
    Tuesday, February 15, 2011 4:54 PM
  • Will this change apply irrespective of whether OWA is launched in regular mode or as a Light Client ?

    Thank you very much for your help.

    Tuesday, February 15, 2011 5:16 PM
  • This will only affect the regular client.  I'll see if I can think of something for the light client later, but I don't have my server in front of me right now.
    Outlook Web Access For PDA , OWA For WAP
    www.owa-pda.com
    email a@t leederbyshire d.0.t c.0.m
    Tuesday, February 15, 2011 6:15 PM
  • Okay, it's a bit trickier for the basic client, but you can add some code into the basicmessageview.aspx file.  Again, look for the <form> tag, and insert this after it:

    <script language="javascript">
    if(window.location.href.toUpperCase().indexOf("/OWA/?") == -1)
      alert("Your message here");
    </script>


    Outlook Web Access For PDA , OWA For WAP
    www.owa-pda.com
    email a@t leederbyshire d.0.t c.0.m
    • Marked as answer by amarcose Wednesday, February 16, 2011 10:54 PM
    Wednesday, February 16, 2011 1:43 PM
  • Thanks Lee.. Much appreciated.
    Wednesday, February 16, 2011 10:55 PM
  • You're welcome.  Remember, though, that if a service pack is released, you will probably need to re-do it, because your files will be replaced by standard ones.  Even some hotfixes will replace them.  Basically you will need to check that the modifications are still in place whenever you do any kind of Exchange update.  In case you need it for reference, I did a little article for this here:

    http://www.leederbyshire.com/Articles/OWA-Display-Message-To-Users-Exchange-2007.asp


    Outlook Web Access For PDA , OWA For WAP
    www.owa-pda.com
    email a@t leederbyshire d.0.t c.0.m
    Thursday, February 17, 2011 2:40 PM