Differences Between INSERT and ASSEMBLE Instructions

The way HotDocs processes an INSERT instruction  is different from the way HotDocs processes an ASSEMBLE instruction:

How HotDocs Processes an INSERT Instruction

The INSERT instructionAn instruction that inserts one template into another. For example, if boilerplate text needs to be used in multiple documents, a template An instruction that inserts the contents of one template into another. For example, if you have boilerplate text you need to use in multiple documents, you can create a template that contains that text and use the Insert intruction in each template that requires the boilerplate text to insert that content. This way, if you need to make a change to the text, you only need to update one template. interrupts assembly of the parent template's document (if you place the instruction before the end of the template) to assemble the inserted templateA template whose contents you insert into another template's document assembly process using an INSERT instruction.. HotDocs inserts the assembled text at the location of the INSERT instruction, and then finishes assembling the parent template's document so that the final output is one seamless document.

How HotDocs Processes an ASSEMBLE Instruction

Unlike the INSERT instruction, when you start a new assembly using the ASSEMBLE instruction, HotDocs adds the templateA word processor or form document that has been converted to HotDocs format so that it can be automated. When in template format, changeable text in the template can be replaced with variables. Other instructions can be added as well, such as instructions that create lists, condition text, and insert other templates. to the  Assembly Queue and then waits until the main documentThe file that is created after a template has been assembled. finishes assembling before assembling the template the ASSEMBLE instruction references. Each time you send the assembled document to the word processor or to HotDocs FillerSee HotDocs Filler., HotDocs creates a separate file, instead of appending assembled documents to the end of the previous document. ASSEMBLE instructions can be used in both text and form templates, and they can add both text and form templates to the assembly queue, regardless of the type of template where the instruction is used.

You can also use an ASSEMBLE instruction to assemble multiple documents from within one template. For example, say providing a particular while assembling a document means the user must then assemble another document. Rather than make the user assemble the second document manually, you can have HotDocs assemble the second document automatically. You do this by using an ASSEMBLE instruction in the template. Once the first assembly finishes, HotDocs starts the second assembly.

To testThe process of testing a variable or other component to make sure it looks right and works correctly. an ASSEMBLE instruction, you must exit the template completely and test it from the libraryA window used to display and organize templates. The library does not store the actual files—instead, it contains shortcuts (or links) to the files, which are stored on disk. In addition to the template library, HotDocs also uses an answer library, which is more commonly known as Answer File Manager..