Conditional Merge Fields - Snippets

Created by Martin Parkinson, Modified on Thu, 6 Jul, 2023 at 2:55 PM by Martin Parkinson

It is possible to store text against the Code Tables.
There is a Specific (New) code table which has been added (after Version 1.00.17.101) called Template Snippets

The idea is that users can add records to this code table, then store some template snippets against these codes.
It is then possible to add these "standard" pieces of text to templates or documents.
If the text changes, then it can be edited in ONE place (on the Template Snippets code table) rather than having to go into each document or template individually to edit the text.
 

Adding Text to the Template Snippets code Table [440]

Within code table maintenance, under the C - Contact management section, you will find the Template Snippet [440] code table.

New codes can be added in the normal way.
Once a code exists it is possible to associate TEXT with the code using the [+] button at the right hand side.
The text can contain plain text, or merge fields, e.g. [[SDF_SYS_NAME$]] (system name)


Some special merge fields which may be useful when adding text are:

[[$Document=\\ppppppp\pppppp\filename.doc]] 
this allows you to specify the path to a document stored on the server. This document can then be inserted into a document template as a merge field.
[[$Image=\\xxxxxxxx\xxxxxxxx\picturename.jpg]]
 this allows you to specify the path to an image (*.jpg, *.png) stored on the server. This image can then be inserted into a document template as a merge field.




 

Using the Template Snippets as a Merge Fields

Once text paragraphs have been created against each of the codes, it is relatively easy to put these into a Template
Simply add the field [[$SNIPPET=XXXX]] where XXXX should be replaced with the relevant Template Snippet Code.

Tip: To help with inserting the Snippet field, select the $Functions section at the bottom of the Catalogue and choose 'Insert Snippet'

To find out more about using Conditional Merge fields with templates click HERE.

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article