MIDAS KnowledgebaseMIDAS Knowledgebase

Why are variables not being substituted in my templates?

MIDAS includes a range of flexible templates which may be freely modified allowing you to customize outgoing emails, invoices, printouts and more.

Each of these templates allow you to insert dynamic "variables" (or "placeholders") which are substituted for real data at time of display/emailing/printing, etc.

The available "variables" differ depending upon the template and are listed at the bottom of the template editor (MIDAS Admin Options → Manage MIDAS → Templates), however each variable follows a similar format in that it starts and ends with a percentage symbol (%), contains no spaces, and is in UPPER CASE.

For example, the variable %VENUE% would be automatically substituted for the name of an actual venue from your MIDAS system when the template is used.

If a variable is not being correctly substituted for a piece of data when a template is used, there are a few things you can check:

  1. Has the variable been spelled correctly?
  2. Is the variable applicable to the selected template? (Not all variables available are applicable to all templates)
  3. Does the variable appear within the correct section of the template? (Some variables need to be placed within the <bookings> ... </bookings> section of a template)
  4. In the case of custom variables (those starting %CUSTOM_...), does the corresponding custom booking field still exist?
You might also be interested in...
» » »

← Return to Knowledgebase