Browse Guides

$-Variables (Dollar Sign Variables)
Reading mode
Copy Link
Link Copied!
Print
Feedback
This guide has multiple versions available:
<style>p { margin: 0; }span.fr-emoticon.fr-emoticon-img { background-repeat: no-repeat !important; font-size: inherit; height: 1em; width: 1em; min-height: 20px; min-width: 20px; display: inline-block; margin: -0.1em 0.1em 0.1em; line-height: 1; vertical-align: middle; } span.fr-emoticon { font-weight: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; display: inline; line-height: 0; } blockquote { border-left: solid 2px #5e35b1; color: #5e35b1; margin-left:0; padding-left:5px;}blockquote blockquote{ border-color: #00bcd4; color: #00bcd4;}blockquote blockquote blockquote{ border-color: #43a047; color: #43a047;} table.grid{ border-collapse: collapse;} table.grid td, table.grid th { border: 1px solid #ddd;} .fr-fic.fr-dib{ display: block; margin: 5px auto;}.fr-fic.fr-dib.fr-fir{ text-align: right; margin: 5px 0 5px auto;}.fr-fic.fr-dib.fr-fil{ text-align: left; margin: 5px auto 5px 0;}.fr-fic.fr-dii{ float: none; margin: 5px auto;}.fr-fic.fr-dii.fr-fil{ float: left; margin: 5px auto;}.fr-fic.fr-dii.fr-fir{ float: right; margin: 5px auto;}img.fr-dib.fr-fir { margin-right: 0; text-align: right;}img.fr-dib.fr-fil { margin-left: 0; text-align: left;}img.fr-dib { margin: 5px auto; display: block; float: none;}img.fr-bordered { box-sizing: content-box; border: solid 5px #CCC;}img.fr-shadow { box-shadow: 10px 10px 5px 0px #cccccc;}img.fr-rounded { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;}</style><style> p { margin: 0; } span.fr-emoticon.fr-emoticon-img { background-repeat: no-repeat !important; font-size: inherit; height: 1em; width: 1em; min-height: 20px; min-width: 20px; display: inline-block; margin: -0.1em 0.1em 0.1em; line-height: 1; vertical-align: middle; } span.fr-emoticon { font-weight: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; display: inline; line-height: 0; } blockquote { border-left: solid 2px #5e35b1; color: #5e35b1; margin-left: 0; padding-left: 5px; } blockquote blockquote { border-color: #00bcd4; color: #00bcd4; } blockquote blockquote blockquote { border-color: #43a047; color: #43a047; } table.grid { border-collapse: collapse; } table.grid td, table.grid th { border: 1px solid #ddd; } .fr-fic.fr-dib { display: block; margin: 5px auto; } .fr-fic.fr-dib.fr-fir { text-align: right; margin: 5px 0 5px auto; } .fr-fic.fr-dib.fr-fil { text-align: left; margin: 5px auto 5px 0; } .fr-fic.fr-dii { float: none; margin: 5px auto; } .fr-fic.fr-dii.fr-fil { float: left; margin: 5px auto; } .fr-fic.fr-dii.fr-fir { float: right; margin: 5px auto; } img.fr-dib.fr-fir { margin-right: 0; text-align: right; } img.fr-dib.fr-fil { margin-left: 0; text-align: left; } img.fr-dib { margin: 5px auto; display: block; float: none; } img.fr-bordered { box-sizing: content-box; border: solid 5px #CCC; } img.fr-shadow { box-shadow: 10px 10px 5px 0px #cccccc; } img.fr-rounded { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; } </style><style> p { margin: 0; } span.fr-emoticon.fr-emoticon-img { background-repeat: no-repeat !important; font-size: inherit; height: 1em; width: 1em; min-height: 20px; min-width: 20px; display: inline-block; margin: -0.1em 0.1em 0.1em; line-height: 1; vertical-align: middle; } span.fr-emoticon { font-weight: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; display: inline; line-height: 0; } blockquote { border-left: solid 2px #5e35b1; color: #5e35b1; margin-left: 0; padding-left: 5px; } blockquote blockquote { border-color: #00bcd4; color: #00bcd4; } blockquote blockquote blockquote { border-color: #43a047; color: #43a047; } table.grid { border-collapse: collapse; } table.grid td, table.grid th { border: 1px solid #ddd; } .fr-fic.fr-dib { display: block; margin: 5px auto; } .fr-fic.fr-dib.fr-fir { text-align: right; margin: 5px 0 5px auto; } .fr-fic.fr-dib.fr-fil { text-align: left; margin: 5px auto 5px 0; } .fr-fic.fr-dii { float: none; margin: 5px auto; } .fr-fic.fr-dii.fr-fil { float: left; margin: 5px auto; } .fr-fic.fr-dii.fr-fir { float: right; margin: 5px auto; } img.fr-dib.fr-fir { margin-right: 0; text-align: right; } img.fr-dib.fr-fil { margin-left: 0; text-align: left; } img.fr-dib { margin: 5px auto; display: block; float: none; } img.fr-bordered { box-sizing: content-box; border: solid 5px #CCC; } img.fr-shadow { box-shadow: 10px 10px 5px 0px #cccccc; } img.fr-rounded { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; } </style><style> p { margin: 0; } span.fr-emoticon.fr-emoticon-img { background-repeat: no-repeat !important; font-size: inherit; height: 1em; width: 1em; min-height: 20px; min-width: 20px; display: inline-block; margin: -0.1em 0.1em 0.1em; line-height: 1; vertical-align: middle; } span.fr-emoticon { font-weight: normal; font-family: "Apple Color Emoji", "Segoe UI Emoji", "NotoColorEmoji", "Segoe UI Symbol", "Android Emoji", "EmojiSymbols"; display: inline; line-height: 0; } blockquote { border-left: solid 2px #5e35b1; color: #5e35b1; margin-left: 0; padding-left: 5px; } blockquote blockquote { border-color: #00bcd4; color: #00bcd4; } blockquote blockquote blockquote { border-color: #43a047; color: #43a047; } table.grid { border-collapse: collapse; } table.grid td, table.grid th { border: 1px solid #ddd; } .fr-fic.fr-dib { display: block; margin: 5px auto; } .fr-fic.fr-dib.fr-fir { text-align: right; margin: 5px 0 5px auto; } .fr-fic.fr-dib.fr-fil { text-align: left; margin: 5px auto 5px 0; } .fr-fic.fr-dii { float: none; margin: 5px auto; } .fr-fic.fr-dii.fr-fil { float: left; margin: 5px auto; } .fr-fic.fr-dii.fr-fir { float: right; margin: 5px auto; } img.fr-dib.fr-fir { margin-right: 0; text-align: right; } img.fr-dib.fr-fil { margin-left: 0; text-align: left; } img.fr-dib { margin: 5px auto; display: block; float: none; } img.fr-bordered { box-sizing: content-box; border: solid 5px #CCC; } img.fr-shadow { box-shadow: 10px 10px 5px 0px #cccccc; } img.fr-rounded { border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box; } </style><p><strong>In this guide we will cover:</strong></p><p><strong>- What Variables can be Used</strong></p><p><strong>- PDF Variables</strong></p><p><strong>- Using Variables in Custom Fields</strong></p><p><strong>- Formatting Variables</strong></p><p><strong>- Variable Suggestions</strong></p><p><br></p><p data-pasted="true"><strong>Note: Any variable written in this guide is written with a hyphen between the $ sign and the word. This is so there is no replacement of them if this guide is shared through any Halo action. When used, they should be used without a hyphen (-).</strong></p><p><br></p><p><strong><span style="font-size: 14pt;">What Variables can be Used</span></strong></p><p>Variables can be used throughout HaloPSA for a variety of functions, some of which include:</p><ul><li>Returning Ticket-specific information on emails.</li><li>Returning date-specific information on invoices.</li><li>Returning customer-specific information on PDF templates.</li></ul><p>You can find a list of the available variables via heading to <strong>your Halo URL</strong>, and adding:</p><p><strong><em>.../variables</em></strong></p><p><br></p><p>&nbsp;i.e.:&nbsp;</p><p><strong>[YOURHALOURL].com/variables</strong></p><p><br></p><p>This is the &#39;main&#39; list of variables, most commonly used in email templates. However, this isn&#39;t the list of <strong>all</strong> available variables.</p><p><br></p><p>Dollar Variables will have a dropdown filter, so that the entity types for variables do not have to be appended onto the URL:</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImE0NThjYzZiLTA3OWYtNGYzOC05OTUyLTY5YTY3YmRlOTFjNSJ9.FtMDQppGZ7JC2P1-rsahgRF5WdSiTRSiuQmFCGoAaOY" class="fr-fic fr-fil fr-dib" width="837" style="width: 839px; height: 480.55px;" height="481"></p><p data-pasted="true"><strong><span style="font-size: 10pt;">Fig 1. Variables list</span></strong></p><p><br></p><p><strong><span style="font-size: 14pt; color: rgb(0, 0, 0);">PDF Templates</span></strong></p><p>Variables can be placed directly into the HTML of PDF templates and will be replaced with the relevant information whenever previewing/generating the PDF. Below are the endpoints you can navigate to in order to view variables for PDF templates of a particular type:</p><p><br></p><p><strong>/variables?type=154&nbsp;</strong>- variables that can be used in Recurring Invoice lines</p><p><strong>/variables?type=53&nbsp;</strong>- variables that can be used in Ticket PDFs</p><p data-pasted="true"><strong>/variables?type=50&nbsp;</strong>- variables that can be used in Quotation PDFs</p><p data-pasted="true"><strong>/variables?type=52&nbsp;</strong>- variables that can be used in Sales Order PDFs</p><p data-pasted="true"><strong>/variables?type=14 &nbsp;</strong>- variables that can be used in Purchase Order PDFs</p><p data-pasted="true"><strong>/variables?type=54 &nbsp;</strong>- variables that can be used in Invoice PDFs</p><p data-pasted="true"><strong>/variables?type=56 &nbsp;</strong>- variables that can be used in Report PDFs</p><p data-pasted="true"><strong>/variables?type=59&nbsp;</strong> - variables that can be used in Composite Report PDFs</p><p data-pasted="true"><strong>/variables?type=62 &nbsp;</strong>- variables that can be used in Consignment/Delivery Note PDFs<strong>&nbsp;&nbsp;</strong></p><p data-pasted="true"><strong>/variables?type=63 &nbsp;</strong>- variables that can be used in Stats Card templates</p><p data-pasted="true"><strong>/variables?type=71&nbsp;</strong> - variables that can be used in KB Article PDFs</p><p><br></p><p>You can also find the above Dollar Variable URL&#39;s by selecting the PDF Template entity associated to the variable type and then clicking on &#39;View $-variables&#39; action:</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjM5OGI0OGRiLWM2NDgtNDNhZC1iMTMyLTg2MDRiYWIyYTMxMiJ9.JykyEq7gpKTqocvU0J_ScCgroUgndFUwwSOu1Nvpypg" class="fr-fic fr-fil fr-dib" width="404" height="634"></p><p><strong><span style="font-size: 10pt;">Fig 2. Selecting the PDF template area</span></strong></p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjM5NTY0MzIxLWExY2UtNDM4Yy1hOWQwLTIxZmU2MzU1NWQ1NyJ9.0wdHAY4i0R_VCeN_i0Lxdcpfow1TSrTGSKp2NdTEF9Y" class="fr-fic fr-fil fr-dib" width="1206" style="width: 1208px; height: 510.989px;" height="511"></p><p><strong><span style="font-size: 10pt;">Fig 3. View $-variables button on a template</span></strong></p><p><br></p><p>Then after clicking on view variables, a new tab will open on your browser with the variable list for the specific entity you have selected (in this example it was the invoices entity):</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjVlNDUwNjVhLWJmOWMtNDY0Yi05NzAwLTAyOGU3MzExN2I4MyJ9._zoAgt73xfHMv27KD6wsgvwRsIwLWAJCxaul0CjTgRs" class="fr-fic fr-fil fr-dib" width="518" style="width: 520px; height: 245.611px;" height="246"><strong><span style="font-size: 10pt;">Fig 4. Variables URL</span></strong></p><p><br></p><p>Custom Fields can also be used as Dollar Variables within their respective entity. If there was a Custom Field called &#39;CFclientaddress&#39; which was a text Custom Field of entity &quot;Ticket&quot; this could be displayed on an action (as long as the ticket has this custom field added to its field list and the custom field on the ticket has a value). The Custom Field dollar variable would be $-cfclientaddress</p><p><br></p><p><strong><span style="font-size: 14pt;">Using Variables in Custom Fields</span></strong></p><p>On versions 2.186 and above variables entered into rich text custom fields can populate in the Custom Field, not just the PDF. This allows agents to enter variables into fields when logging tickets, and then have the field populated with the variable data once the ticket is saved/logged. If you would like to be able to do this, this will need to be enabled against each custom field.&nbsp;</p><p><br></p><p><strong><em>Note: This is only possible for rich text custom fields.</em></strong></p><p><br></p><p>Head to Configuration &gt; Custom Objects &gt; Cusrtom Fields &gt; select the Custom Field the variable will be entered into, enable &quot;Allow the use of dollar variables in the field value&quot;.&nbsp;</p><p><strong><span style="font-size: 10pt;"><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijc1ZWIyNmNkLTQxMGEtNGYyZS04OTBjLWMzYzQyMDZlYjllZSJ9.b9Yxq0wvHhKwLASB4IKOIxsqUVm88JwyNvMC17f477Q" class="fr-fic fr-fil fr-dib" width="536" style="width: 538px; height: 215.39px;" height="215"></span></strong></p><p><strong><span style="font-size: 10pt;">Fig 5. Enable use of Dollar Variables in the field value</span></strong></p><p><strong><br></strong></p><p>Now I can enter a variable into this field.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjdmNzk5N2I3LTdmMWItNGI2OS05NmI0LWQ0M2I4NjUyMDRmNyJ9.CbmVp_-G6JWpnb-klBCaze3uaXa8aGo6CPQU7ypqMnw" class="fr-fic fr-fil fr-dib" width="1013" style="width: 1015px; height: 701.544px;" height="702"></p><p><br></p><p><strong><span style="font-size: 10pt;">Fig 6. Variable in rich text custom field</span></strong></p><p><br></p><p>Once the ticket is logged, I can see the data this variable pulls through is present against the ticket.&nbsp;</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjIyODkzMjRkLThhOTQtNDM5OS05YzcxLTNjYTI3M2RhMWRhOCJ9.AtG6QfzSTG0IyN3TM4IHMZqHTv3dy4q2VGktaPwk-8g" class="fr-fic fr-fil fr-dib" width="604" height="251"></p><p><strong><span style="font-size: 10pt;">Fig 7. Variable populate on ticket</span></strong></p><p><br></p><p>This is useful for fields storing information such as a statement of work or terms and conditions, as these fields will often contain content that benefits from Dollar Variables, such as a variable to pull through the customer or user name. Although these variables will populate on the PDF generated for the ticket, which is sent to the customer, it can be useful for agents to be able to see the completed field before generating/sending a PDF.&nbsp;</p><p><br></p><p>Rich text custom fields can also be populated into PDF and email templates.</p><p><br></p><p><strong><span style="font-size: 14pt;">Formatting Variables</span></strong></p><p data-pasted="true">Parameters can be added to your variables to change how they display. Multiple parameters can be added to a variable by seperating them with the &quot;|&quot; character. &nbsp;</p><p>For example: $-Subject{MAXLENGTH:100|OVERFLOW:...}</p><p><br></p><p><strong><span style="font-size: 12pt;">MaxLength</span></strong></p><p>You can apply formatting to text &nbsp;$-variables used on templates (email and PDF). Formatting can be applied to restrict the number of characters variables return. This is useful when you would like to prevent large strings cluttering up your PDFs and emails. Formatting can be applied like so:</p><p style="margin-left: 20px;"><br></p><p style="margin-left: 20px;" data-pasted="true"><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">$VARIABLENAME<strong>{MAXLENGTH:20}</strong></span></p><p><br></p><p data-pasted="true">In the above example only the first 20 characters of data the variable pulls through will appear on the PDF/email.&nbsp;</p><p><br></p><p><strong><em>Note: MAXLENGTH must be capitalised.&nbsp;</em></strong></p><p style="margin-left: 20px;"><br></p><p style="margin-left: 20px;"><span id="isPasted"><strong><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImUyMzI5OGQ5LTY1Y2EtNGI3ZC1iMTAyLTk2M2NlY2VjMjBiNiJ9.VGfFAGNKry-wrySSdySTStgdwQhanMRuA3xvj3xQrqo" class="fr-fic fr-fil fr-dib" width="875" height="635"></strong></span></p><p><strong><span style="font-size: 10pt;">Fig 8. Variable for ticket summary formatted on email template</span></strong></p><p><br></p><p>When using max length to limit the characters used you may want to end the output with a symbol or statement such as &quot;...please view this ticket for more information&quot;. This parameter can be used with max length by formatting the variable like below;</p><p style="margin-left: 20px;"><br></p><p style="margin-left: 20px;" data-pasted="true"><span style="color: rgb(0, 0, 0); font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; white-space: normal; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;">$VARIABLENAME<strong>{MAXLENGTH:20|OVERFLOW:...please view this ticket for more information}</strong></span></p><p style="margin-left: 20px;"><br></p><p data-pasted="true">In the above example only the first 20 characters of data the variable pulls through will appear on the PDF/email. After the first 20 characters the output &quot;...please view this ticket for more information&quot; will display.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjdjNTVlNWIyLTI4NDktNGM4OS1hODU3LTFjZjc5MDUxMmRlOSJ9.ALpJ05P5AM69uOoBcPzDCkDtIw5RUkYb2ygBnEuaWsg" class="fr-fic fr-fil fr-dib" width="860" height="522"></p><p data-pasted="true"><strong>Fig 9. Overflow parameter example&nbsp;</strong></p><p><br></p><p><br></p><p><strong><span style="font-size: 12pt;">Prefixes</span></strong></p><p data-pasted="true">Prefixes can be added to variables. Like variables, the prefix will only populate when the field the variable is pulling the data from has something to populate with.</p><p><br></p><p data-pasted="true">Add curly brackets/braces &quot;{ }&quot; to the end of the variable, and within those brackets format the text like:</p><p><br></p><p style="margin-left: 20px;">$VARIABLENAME<strong>{PREFIX:</strong><span style="color: rgb(0, 0, 0);"><strong>Name to use</strong></span><strong>:}</strong></p><p><br></p><p>Ensure you add the colons either side of the name to use.</p><p><br></p><p data-pasted="true">For example, the below text for the Priority variable ($_SERIOUSNESS).</p><p><br><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6Ijg1YTE3N2EyLTcyMWUtNGVhOS04YTdlLTdkMTc1ZmFhOWFjYyJ9.EP_6Q4uoXNwdMObSULjYape3jslXtnT16dp505qsI20" class="fr-fic fr-fil fr-dib" width="920" height="283"></p><p><strong><span style="font-size: 10pt;">Fig 10. Variable prefix format.</span></strong></p><p><br></p><p>This example will then populate like below.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImY5ODQ4N2IxLTNmYmEtNGQ0YS04MTBmLTc2Y2U0NzM2NWJkZSJ9.uSV-hxhRaXDXrmNDgQKjd755ZhapYyvPTUpg5cLsr7c" class="fr-fic fr-fil fr-dib" width="922" style="width: 924px; height: 135.29px;" height="135"></p><p data-pasted="true"><strong><span style="font-size: 10pt;">Fig 11. Variable populated with a prefix</span></strong></p><p><br></p><p><span style="font-size: 12pt;"><strong>Suffixes (v2.236+</strong></span><span style="font-size: 12pt;"><strong>)</strong></span></p><p>Suffixes can be added to variables. Like variables, the suffix will only populate when the field the variable is pulling the data from has something to populate with.</p><p data-pasted="true">Add curly brackets/braces &quot;{ }&quot; to the end of the variable, and within those brackets format the text like:</p><p><br></p><p style="margin-left: 20px;">$VARIABLENAME<strong>{SUFFIX:Name to use}</strong></p><p style="margin-left: 20px;"><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjM2Yzc3NDcyLTcyNTUtNDM4ZS1hZWExLTVmYTkzOGM0YTY2MCJ9.wDD3huaK0fUFbVTJMd7NdDCSdGhOY7PQFGdtL2ELZ88" class="fr-fic fr-fil fr-dib" width="915" style="width: 917px; height: 283.191px;" height="283"></p><p data-pasted="true"><strong><span style="font-size: 10pt;">Fig 12. Variable suff</span></strong><strong><span style="font-size: 10pt;">ix format </span></strong></p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImEzNzk5NWUwLWU0NTktNDIxMi1iZTgyLTg5ZWIyNGU4YzQwYiJ9.9AO_Th-o0ndux5dVS-jPshl8n9DNucMdxKssqiByRwg" class="fr-fic fr-fil fr-dib" width="758" style="width: 760px; height: 483.108px;" height="483"></p><p data-pasted="true"><strong><span style="font-size: 10pt;">Fig 13. Variable populated with a suffix&nbsp;</span></strong></p><p><br></p><p><strong><span style="font-size: 12pt;">Default values (v2.234+)</span></strong></p><p>A default value for a Custom Field can be set using the parameter: {DEFAULT:____}. The value set here will show when the Custom Field is empty. This is useful in email templates when certain information has not been provided for a particular field, allowing you to display a message or value, such as &quot;No information provided&quot;.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImViZWI3ZGE4LTAxYTctNGUzMy04MjdmLTEwY2JlZjNjMjNkYyJ9.OKqmODkFPrYQysNE1rDdlsn_hZiVVAYyjMyZQnQ6_Os" class="fr-fic fr-fil fr-dib" width="1016" style="width: 1018px; height: 202.767px;" height="203"></p><p data-pasted="true"><strong><span style="font-size: 10pt;">Fig 14. Setting a default for a Custom Field&nbsp;</span></strong></p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImRlMmMyZThmLWRkYTItNGJjMC1iYTI5LTg4NzFiOWEwZDFlYiJ9.vZOzSZnuwewPLVdcKR2BE2NlAmuKJ6Lz0mwr6AH9ARc" class="fr-fic fr-fil fr-dib" width="1009" style="width: 1011px; height: 591.635px;" height="592"></p><p data-pasted="true"><strong><span style="font-size: 10pt;">Fig 15. Variable populated with a default due to no summary being set</span></strong></p><p><br></p><p><strong><span style="font-size: 12pt;">Return ID (v2.234+)</span></strong></p><p>The parameter: {USE_ID} can be used to force the response from a single select field to be an ID rather than text. When creating email templates or default notes, it is useful to pull the ID of a field value in order create a links.&nbsp;</p><p><br></p><p><strong><span style="font-size: 12pt;">Return as plain text (v2.236+)</span></strong></p><p>The parameter: {TYPE:PLAIN} can be used to output the contents of a field in plain text. This i &nbsp;useful for URL fields which output in HTML by default.</p><p><br></p><p><strong data-pasted="true"><span style="font-size: 14pt;">Variable Suggestions</span></strong></p><p>You can select suggested variables from a list or text search when configuring the following:</p><ul><li>Actions&nbsp;</li><li>Column Profiles</li><li>Email Templates</li><li>Templates</li><li>Canned Text</li><li>Ticket Type</li></ul><p>&nbsp;To enable this head to Configuration &gt; Advanced Settings, and change the &quot;Allow Variable Suggestions&quot; to the desired option as outlined below.</p><p><br></p><p><strong>Variable text search -&nbsp;</strong>This option will show a list of suggested variables when the dollar symbol ($) is typed. This works in a similar way to mentions.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImNlYzJiZjYwLTI2ZmEtNDk4Ni1hMDhiLTRkZTZhMWQyMjkyNCJ9.YdIr8eyfUIuH6WV9j_sERDft7arYxolp1rOHZVRsdO8" class="fr-fic fr-fil fr-dib" width="883" style="width: 885px; height: 450.064px;" height="450"></p><p data-pasted="true"><strong><span style="font-size: 10pt;">Fig 16. Variable text search</span></strong></p><p><br></p><p><strong>Insert variable from list -&nbsp;</strong>Similar to Canned Text, this will show an Ohm symbol (&Omega;) in your text editor which will display a list of suggested variables when clicked.</p><p><br></p><p><img src="https://halo.haloservicedesk.com/api/attachment/image?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6ImZhZmUzYjliLTgyZDItNGFlZC1hOTJiLTQwYzg2YjQ0ODUyMCJ9.vOVtPyoIBq5s4aTgLC-L5BfL4JDotE36U1L-cd1M7HE" class="fr-fic fr-fil fr-dib" width="888" style="width: 890px; height: 351.367px;" height="351"></p><p data-pasted="true"><strong><span style="font-size: 10pt;">Fig 17. Insert variable from list</span></strong></p>
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.