Working with Outlook
HotDocs has for years had a connector to Microsoft Outlook. It is an effective tool for importing data. However, the data that comes in, often needs to be “cleaned up” before it can be used.
- State Field: The state can sometimes be entered as Abbreviated (e.g. NY) or as a Full State (“New York”) which causes problems on import if you importing into a Multiple Choice field
- Street Field: The “Address” in Outlook is different from the BusinessAddressStreet field. And that field can have multiple lines in it, affecting how that text appears in your template where you may have coded Street1 and Street2
Further, some of the mappings in the tool are confusing because of the terminology used by Outlook and that used by most HotDocs coders can be quite different.
- Which Address: In Outlook there is a MailingAddress, a HomeAddress and a BusinessAddress. If you are importing into a primary address, then you would choose MailingAddress. If it is a Business, with a Company, you should use Business Address.
- Salutation, Title and Job Title: These fields are confusing since Title is “Mr.” or “Mrs”, Saluation is non-existent, and JobTitle is the positon someone holds at a company.

HotDocs Instruction – QUIT
The HotDocs QUIT instruction specifies that any code in a computation after the QUIT instruction is to be ignored as code. There are two major uses for this instruction.
Firstly, because QUIT stops HotDocs processing a computation as code, it means that you can put it at the top of a computation to stop that computation from being processed. Very handy if you are halfway through a computation or cannot otherwise make it work.
Secondly, you can use QUIT as a way to add developer comments – simply finish your computation code, enter the QUIT instruction at the bottom, then enter any comments you want after the QUIT command.
The reality is that the QUIT instruction doesn’t really do anything that comments don’t already do. And thanks to HotDocs’ “Comment/Uncomment” block function, its pretty easy to work with large sections of commenting code.