Report Viewer 2018 Updates
Report Viewer 203
-
Released November 12, 2018
New Features
Support For the <Background> Element (1582)
LiquidFrameworks has added support for the <background>
XML element. The <background>
element inserts a repeating background image into the <template>
element. You can use <background>
to add a watermark in the main area of a report. For more information about the <background>
element, visit XML Elements.
Feature Enhancements
PDF Report Template Syntax (5665)
We have made several syntax improvements for PDF report templates.
You can now declare multiple styles in a collection on a template.
For example:
<text style=”style1 style2”>
You can use the borderTop
, borderBottom
, borderLeft
, and borderRight
table attributes as styles to define individual border sections.
For example:
Define a cell to only have borders on its left and right sides with
<cell borderLeft=”true” borderRight=”true”>Example</cell>
You can also make columnWidths
a collection under the table object, as well as continue to use columnWidths
as a table attribute.
For example:
Define a column in table to be filled blue and 20 pixels wide with
<col width=”20” fillColor=”blue”/>
In addition, within large text field defined with the preserveWhitespace
text attribute (<text preserveWhitespace=”true”>
), report templates should honor tab and newline whitespace (<br/>
) characters.
Report Viewer 199
-
Released March 21, 2018
Feature Enhancements
Image re-use now available on PDF Reports (1191)
You can now re-use images on PDF reports. To take advantage of this new feature, you need to add <image>
and <images>
elements to the XML templates for your PDF reports.
Refer to the XML Elements article for instructions on how to use the |
Report Viewer 194
-
Released January 11, 2018
Feature Enhancements
<Image> element now supports external sources (1099)
You can now enter a URL as the source for an <image>
element on a PDF report.
<image width="300" source="https://i.imgur.com/B3NJGly.jpg"></image>
This gives you the ability to embed images from external sources on PDF reports.
New font available for PDF Reports (1109)
You can now use the Courier New font on PDF reports. To use the Courier New font, you need to set the font
attribute for the relevant element.
<text font="Courier">TICKET NUMBER: {{FX5__Tracking_Number__c}}</text>
Lightning Experience Support added (1135)
You can now use the Report Viewer in Lighting Experience.