HotDocs JavaScript and Stylesheet Locations in Cloud Services

Interview Runtime Files for Standard Interviews

Download the Interview Runtime Files

You must download the interview JavaScript, CSS, and image files to serve from your own domain. See Browser Interview Release Notes for download links to the latest release of the Interview Runtime Files.

Using the Interview JavaScript and Stylesheets

To generate an interview, the files in the above locations should be downloaded and served from a location in your own domain. When making an interview request, these locations should be passed to Cloud Services using the following Interview Settings properties:

  • HotDocsJsUrl – the location of the HotDocs Interview JavaScript files.
  • HotDocsCssUrl – the location of the HotDocs Interview HDSUser stylesheets and image files. The URL must include the hdsuser.css file (e.g. http://localhost/HDServerFiles/stylesheets/hdsuser.css); the URLs for other CSS and image files are derived from the hdsuser.css file location.

Embedded Interviews

The following JavaScript files are required for Embedded HotDocs Interviews:

Name Location Description
HotDocs Server JavaScript https://files.hotdocs.ws/download/hotdocs.js The core HotDocs JavaScript file, used to render the browser interview.
EasyXDM https://files.hotdocs.ws/download/easyXDM.min.js Cross-domain messaging, allows the core HotDocs JavaScript to connect to other HotDocs Server JavaScript APIs.

Using the Embedded Interview JavaScript

Add the following script inside the Head tag of the page where the interview is rendered.

<script type="text/javascript" src="https://files.hotdocs.ws/download/easyXDM.min.js"></script>
<script type="text/javascript" src="https://files.hotdocs.ws/download/hotdocs.js"></script>