Add an event command to open the web browser

Create an event command to open the web browser and access a specified URL.
IMPORTANT:
The web browser is not supported by the
PanelView
53xx HMI device family.
Configure a command to allow the HMI device operator to access content on the intranet, the Internet, remote file servers, devices with built-in web pages, removable SD cards or USB drives, or IP cameras.
TIP:
Tips:
  • By default, the web browser blocks access to all locations. Configure the allowed locations list for the HMI device users.
  • Some locations do not use the default ports 80 and 433. To enable access, setup open ports specific to these locations.
The web browser supports the following protocols:
  • HTTP
  • HTTPS
  • BLOB, WS, WSS (included in HTTP and HTTPS)
To access removable media use these schemas:
  • sd:/
  • usb:/
    TIP:
    SD:/videos/video1.mp3.
You can run only one instance of web browser at a time. To run a different instance of the web browser (for example, to access a different location) first close the running instance. The web browser supports only one window or tab at a time. Links that open a page in a new tab or new window may not function. Bookmarks, file downloads and uploads are disabled. The HMI device does not retain browsing history, login data, or cookies.
Prerequisites
  • Create an event to trigger the command:
    • Touch press.
      Occurs when touching the item on the screen that is configured with the event.
    • Touch release.
      Occurs when releasing the item on the screen that is configured with the event.
    • Key press.
      Occurs when
      pressing the specified key.
    • Key release.
      Occurs when releasing the specified key.
To add an event command to open Web Bowser
    1. Select the graphic element configured with the touch or key event.
    2. In the
      Properties
      pane on the
      Events
      tab, select
      Add Command
      .
    Expand the
    Navigation
    category, select
    Open Web Browser
    , and configure the command:
    • URL
      . Specifies the first location to open when the web browser starts. Use http://, https://, sd:/, or usb:/ schemes.
    • TopBar
      . Select the look and the behavior of the top bar of the web browser:
      • None
        . Hides the address bar and navigation buttons.
      • Slim (read-only)
        . Displays only the address bar.
      • Normal (read-only)
        . Displays full top bar. The address bar is read-only.
      • Normal (editable)
        . Displays full top bar. The operator can enter URLs in the address bar.
    • CloseOnLostFocus
      . Closes the web browser when the focus shifts to other screen elements. For example, the web browser closes when you select an element outside the web browser. This property is selected by default.
    • X
      ,
      Y
      . Set the initial position of the top-left corner of the web browser canvas in pixels.
    • Width
      ,
      Height
      . Set the dimensions of the web browser canvas in pixels.
      TIP:
      Set the values of
      X
      ,
      Y, Width
      , and
      Height
      to 0 to make the web browser fit the entire available space below the System Banner.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal