Trouble Viewing Images? Right-click on any image and select "Open in new tab" to view a larger version. You can also zoom in using Ctrl + Mouse Wheel for easier readability.
Article Goal
Provide a reference of supported tags that can be used with the Allow Markup Text property in Finished Reports.
What Is Allow Markup Text?
The Allow Markup Text property lets you apply basic HTML formatting to label fields in Finished Reports. This is useful for customizing text appearance, such as bolding, coloring, adding line breaks, or inserting hyperlinks.
Use Case: Apply dynamic styles or formatting to fields within Finished Reports using expressions or manually written markup.
Where Is It Used?
This feature is typically used in label elements within the Finished Reports Designer in VDM, where developers want more control over styling and layout of printed/exported content.
Download Sample
You can download a Sample View saved with data to follow along and test the formatting.
Example: Formatting a Label
Here’s a simple example of a label using markup inside an expression:
'<b>Order Date: </b> ' + [OrderDate] +
'<b>Freight: </b> ' + [Freight] +
'<b>OrderID: </b> ' + [OrderID]
This will render as bold text with the non-bolded values following it.
Example Output
The image below shows how the formatted label renders in a Finished Report.
Available Markup Tags
Text Formatting
| Tag | Syntax | Example |
|---|---|---|
| Bold | <b></b> |
<b>Bold text</b> |
| Italic | <i></i> |
<i>Italic text</i> |
| Strikethrough | <s></s> |
<s>Strikethrough text</s> |
| Underline | <u></u> |
<u>Underlined text</u> |
| Combination | <b><u>...</u></b> |
<b><u>Bold + Underlined</u></b> |
| Reset Format | <r> |
<b>Bold<r>Normal</b> |
Visual and Font Options
| Tag | Syntax | Example |
|---|---|---|
| Size | <size=10>...</size> |
<size=10>10pt text</size> |
| Color | <color=red>...</color> |
<color=red>Red</color> |
| Background Color | <backcolor=yellow>...</backcolor> |
<backcolor=yellow>Highlight</backcolor> |
| Font | <font=Helvetica>...</font> |
<font=Helvetica>Font text</font> |
| Line Break | <br> |
Hello<br>World |
| Non-breaking Space | <nbsp> |
Hello<nbsp>World |
Special Tags
| Tag | Syntax | Example |
|---|---|---|
| Subscript | <sub>...</sub> |
<sub>Note</sub> |
| Superscript | <sup>...</sup> |
<sup>1</sup> |
| Hyperlink |
<a href="URL">text</a> or <href="URL">text</href>
|
<a href="https://bridgeworksllc.com">BridgeWorks</a> |
Note: If the
hrefURL contains spaces, surround the value with quotes.
Article Summary
Using the Allow Markup Text property in Finished Reports allows precise control over label formatting, providing a more polished and professional output. With support for common HTML tags, it's easy to enhance the presentation of your reports without needing complex scripting.
Comments
0 comments
Please sign in to leave a comment.