Embedding One or More Dynamic Documents Inside Another
Embedding a Document Field called InsertTemplate in a document lets you generate an output file that includes the contents of multiple Word (dynamic) documents.
The InsertTemplate function can only be used to embed Dynamic Documents, and not Static Documents.
Using this function to embed multiple documents is sometimes referred to as creating a Document Pack.
Implementation:
- Embed the following function within a dynamic document:
~~InsertTemplate( DocumentOne, DocumentTwo, DocumentThree )~~
- Add as many document names as you wish to this expression, and when the document is generated using the ShowDocument function, a dynamic pack will be created.
You can use a KnowledgeKube keyword such as that of a Variable or Question in place of document names. Using variables lets you generate a dynamic document pack which can vary its contents depending on which document names have been passed to the variable.
If you want to use a question keyword, you will need to add that question to the Expression Parser.