Customize EMS Web App

After you have installed the EMS Web App, you can customize many aspects of it, such as the appearance and security settings. For example, you can change the look and feel of the EMS Web App by inserting your own logo. Experienced web developers can also modify the system’s style sheet to change fonts and colors.

Important!

Do not alter any of the EMS Web App web page files themselves. The maintenance agreement for EMS Web App extends to the original page content only.

This topic provides information on the following: 

Customize the Logo

The logo that appears in the upper left corner of all pages within the EMS Web App comes from a file named LOGO.GIF found in the \EMSWebApp\Images folder of the web server. If you choose to have the system display a different logo, create a new file called CUSTOMLOGO in the same folder (any graphics file type, such as .gif, .png, etc. will suffice). If the system detects CUSTOMLOGO, the system will use that file rather than the default LOGO.GIF file. The advantage of creating the new file instead of simply replacing the LOGO.GIF file is that, in an upgrade to a new version of EMS Web App, the LOGO.GIF file is overwritten whereas CUSTOMLOGO is not. If you create a custom logo file, you might need clear your browser’s cache before you see the new image.

Be sure to maintain the aspect ratio of 135 px wide X 40 px high. The system will accept nearly any size logo image, but you should avoid images more than 200 pixels wide and images that are too tall to avoid extra scrolling.

Customize Style Sheets

Experienced web developers are can modify the look and feel of EMS Web App using a custom style sheet, which controls fonts and colors throughout the application.

To customize style sheets:

  1. Create EMSWebApp/Content/Custom folder on your web server.
  2. Name your custom style sheet CUSTOM.CSS and place it in the EMSWebApp/Content/Custom folder. If the system detects this file, it will use the styles found there rather than those in the system’s default style sheet, VEMS.CSS. The advantage of creating the new file instead of overwriting the default file is that, in an upgrade to a new version of EMS Web App, VEMS.CSS is overwritten whereas CUSTOM.CSS is not.

Customize Links

The EMS Web App Browse Events page allows users to view all events scheduled in EMS that display to everyday users. You have the option to automatically filter this list of events by facility, room, event type, event name or group name as part of a customized Browse Events page. This customized page is referred to as a Custom Link.

A Custom Link enables you to build a link based on the Browse Events page that will display only events meeting your specified criteria. For example, you can create a link that only displays events in a specific Building or of a specific Event Type. Essentially, the link pre-filters the event listing displayed to a specific building, event type, Group, etc. Once you generate the link, then you can insert it in emails or websites.

  1. Log into EMS Web App using a user ID that belongs to a Everyday User Security Template containing the Web Administrator Role. Learn how to Configure Everyday Users and Configure Security Templates.
  2. On the menu next to your name, click Create Custom Link.
  3. Select and enter the prefilters that control what displays when users click your custom link.

    To display a custom logo other than the default logo used for your EMS Web App site, enter the logo filename and server path in the Logo field. The logo needs to be stored in the EMS Web App physical directory on your web server (typically, C:\inetpub\wwwroot\EMSWebApp\).

    Select Ignore Everyday User Application Display Settings if you want all events within your criteria to display to users using this link regardless of everyday user display settings (essentially, ignoring configuration rules that would normally hide certain events from view).

    Select Collapse Bookings to Reservation-Level to collapse booking information so that only the reservation information shows. 

    Collapse Bookings to Reservation Level EnabledCollapse Bookings to Reservation Level Disabled
  4. Click Generate Link to display a friendly URL and HTML code that can be added to a web page, email, etc.  Use the URL to test your Custom Link.

Customize JavaScript

With custom JavaScript, you can extend the functionality of EMS Web App to suit your business needs. Including custom JavaScript on EMS Web App pages can affect performance.

When EMS Web App receives a request for a page, it checks for the existence of a CustomJs folder. If the folder exists, EMS Web App checks for any files that match the name of the page. For instance, on the RoomRequest.aspx page, if there is a file called RoomRequest.js in the CustomJs folder, EMS Web App will include the RoomRequest.js file on the page.

EMS Web App also checks for and include the file named global.js on every page.

  1. Open the EMS Web App web.config file (typically, C:\inetpub\wwwroot\EMSWebApp\web.config).

    EMS Cloud customers: Modifications to the web.config file must be performed by EMS Cloud Operations. To request these changes, please contact EMS Support.

  2. Locate the following node under the <appSettings> node:

    <add key="allowCustomJs" value="false" />

  3. Change the false value to true.
  4. Save the file.
  5. Create the CustomJs folder within the root of your EMS Web App Install Directory (typically, C:\inetpub\wwwroot\EMSWebApp\CustomJs).

You are now ready to implement your Custom JavaScript using one of several options:

  • In the newly-created CustomJs folder, create a file for each of the above pages you want to include your custom JavaScript on (such as RoomRequest.js, EditReservation.js, or Default.js).
  • In the newly-created CustomJs folder, create one file called global.js that will be included on every page in the system.

Your custom JavaScript should be included on global.js or on each of the applicable page-specific JavaScript files.

If you include the script in both places, it could cause problems.

Customize Security

There are settings in the web.config file that you can customize to enhance website security. For more information regarding these security settings, contact EMS Support.

Contact Customer Support

If you do not have a customer login, register here.