Expertsystemen

 

Putting text fragments in the template

In the previous article we added our first text fragment. Depending on your View, your text fragment(s) will be shown on the left or right of your screen. This window is explained in more detail in Text fragments window. The next step is to add your text fragments to your document.

The text fragment window
The text fragment window

Adding a text fragment can be done in several ways. The most easy is to simply left-click the text fragment in the text fragment window. Next, go to your Word template and paste the fragment with [CTRL + V] or [Right-click + Paste]. Alternatively, you can right-click the text fragment and select Copy Word Reference and then paste it in the template.

The template with an added text fragment
The template with an added text fragment

Now, whenever you run your model, the code <text name="buyer_name"/> will be replaced by the name of the buyer! If you want to test it, make sure to save and run it. In the next sections, we will explain how to add conditions, finish the document by wrapping up and consider more advanced text fragments.