Frequently Asked Questions
Last updated
Labels will be generated in the order they are filtered, according to the Order By field on the Data Source condition. In the case of scripted Data Sources, you can set the order using a query.orderBy() term in the GlideRecord query.
ServiceNow auto-reformat and auto-sanitizes content in the TinyMCE editor to improve efficiency & compatibility. Unfortunately, this can occasionally make the content incompatible with the PDF generation engine. To work around this, you can replace the offending piece of content with a Merge Map containing the HTML code you need.
For example, to insert an image in your label, use a scripted Merge Map containing the code below, and then insert the Merge Map's key into your label template.
return '<img src="My_Logo.jpg" alt="My Logo" height="30" />';Last updated