SUB_DOCUMENT

Includes a subdocument inside a master document. The source of data for the sub-document is specified as the first parameter of the function. The sub-document will be included for each instance of the business object in the data source.

<callout type=“primary” title=“note” icon=“true”>This function can only be used inside tags in MS Word documents!</callout>

  1. Identifier of the list or a string identifying the query (either Rule Language string or the name of the existing query). List members of business objects found by a query serve as the data source for the sub-document
  2. Name of the document template identifying the sub-document.
<<SUB_DOCUMENT(Client.Children, 'ClientList')>>