Deploying the viewer

The viewer code ships with Content Manager OnDemand and is entirely contained in a zip file named LineDataHTML5Viewer.zip. In the previous code sample, this zip file was extracted to a directory named LineDataViewer at the root level of the web application. Your web paths might vary.

A few items to note:
  • The HTML5 Line Data Viewer is supported on Apple Safari, Google Chrome, Microsoft Edge, and Mozilla Firefox browsers. It is not supported on Microsoft Internet Explorer.
  • It is important that your web server be configured to return json files as application/json. If your web server is not configured to return json files as application/json, the viewer will not run. Your browser debugger console might show the following error(s):
    Font: ‘]’ not found
    Object doesn’t support property or method ‘splice’.

    You can also examine the response headers in the browser to verify the proper mime-type is being returned. See your browser documentation for more information on its browser debugger console and response headers.