Install > Install Service Manager Collaboration > Deploy Service Manager Collaboration with HTTP > Task 9: Define the display of the End User Chat UI for ESS portal

Task 9: Define the display of the End User Chat UI for ESS portal

An end user needs to click the chat button to open the End User Chat window. In this task, you will configure the webtier.properties to define how the End User Chat window is displayed on the Service Manager Employee Self-Service (ESS) portal.

Follow these steps:

  1. Navigate to the C:\Program Files\Apache Software Foundation\Tomcat 8.0_SMWeb\webapps\webtier-x.xx\WEB-INF directory, and then open webtier.properties with a text editor.

  2. Locate the SMC ESS Chat configuration section, and then update the parameters. See the following table for detailed description:

    Parameter Description
    smc.ess.chat.url

    Specify the absolute URL to the End User Chat UI application. This chat URL is the real URL which you can access through Apache. For example, http://training.sm-demo.com/chatui

    smc.ess.chat.style.width Specify the width of the iFrame which contains the End User Chat window. The unit is pixel.
    smc.ess.chat.style.height Specify the height of the iFrame which contains the End User Chat window. The unit is pixel.
    smc.ess.chat.style.position Specify the position of the End User Chat UI. The available values are bl (bottom-left) or br (bottom-right).
  3. Save your changes and close this file.

Follow these steps to update the chat service URL in Service Manager Chat UI:

  1. Navigate to the C:\Program Files\Apache Software Foundation\Tomcat 8.0_SMWeb\webapps\chatui\conf directory, and then open env.js with a text editor.

  2. Update the chatServiceUrl value, which must be the real URL that you can access through Apache. For example, http://training.sm-demo.com/chatservice

  3. Save your changes and close this file.