Options
All
  • Public
  • Public/Protected
  • All
Menu

HotDocs JavaScript API

Overview

This is the typescript build of the interview. Please note, this repository will be replaced by I2 (https://dev.azure.com/hotdocshub/hubadvance/_git/i2).

Interview Wrapper

In order to ease the integration of the new interview, a wrapper has been built which encapsulates this code.

In order to use a local version of the wrapper, and by extension i2, run the following command in the I2 repo:

cd ./interview
npm link

Then in the same folder as this README, run this command:

npm link @hotdocs/interview-wrapper

This will update the npm dependency on the interview wrapper to use your local build of it. In order to pick up changes in the i2 repo, the solution will need to be restarted due to the manner in which the distributables are copied into the IIS server.

Rebuilding icon_definitions

The following command will allow you to rebuild the file scripts\hdmain\icon_definitions.ts.

HotDocs.Platform.SpriteSheetBuildTask/bin/debug/net472/HotDocs.Platform.SpriteSheetBuildTask.exe HotDocs.Platform.Typescript.Interview/scripts/hdmain/icon_definitions.ts hdssystem classic,default HotDocs.Platform.Typescript.Interview/stylesheets/sprites HotDocs.Platform.Typescript.Interview/stylesheets

The command needs to be ran in the project root directory.

This will only work after you've done a debug build for the HotDocs.Platform.SpriteSheetBuildTask project.