Adding objects to your PixelPerfect report template
Add non-data-bound (not connected to a data binding you created) and data-bound objects to your template to fill it with content. At a high level, objects can be used to populate reports with data, style reports, and fulfill functional formatting needs.
Adding non-data-bound objects
Non-data-bound objects can be added to your report template to enhance its appearance and to achieve functional needs.
These objects are usually added by dragging them from the toolbox panel on the left side of the designer onto the design surface. Here are some common examples of objects to use:
-
Label: Text-based element that can contain custom fixed text. A label can also be connected to a data binding. Labels can be added in the toolbox or from the Field List menu. For an example of adding custom fixed text, see Example - Adding a label with custom fixed text.
-
Picture Box: Image-based element that can contain an external image or a data-bound chart image from your Qlik Sense app. For more information about adding an external image, see Adding external images to the report template.
-
Line: Used for adding lines to divide content for improved readability, or to draw shapes manually.
-
Shape: Add shapes to your report to achieve styling needs. Configure the shape and other parameters in the Properties menu.
-
Table of Contents: Add an interactive table of contents in the header or footer of the report. For more information, see Adding a table of contents.
-
Page Info: Insert the page number and other information.
-
Page Break: Add a manual page break to force content to be split onto a new page at a specific point.
Example - Adding a label with custom fixed text
Adding a label with custom fixed text is helpful for manually inserting titles and other content into your report.
Do the following:
-
From the toolbox panel on the left side of the designer, drag a Label onto the design surface.
-
Open the Properties menu from the right side of the designer, if not already open.
-
Under Label Tasks > Text, insert the text you want to use.
You can customize the label's appearance using the other settings in the Properties menu.
Adding data-bound objects
Before you can link objects in the template to specific sets of your app data, you need to create data bindings in the Field List menu. For more information, see Data binding.
After you have created the required data bindings, you can add data-bound objects to the template. This can generally be done in two ways:
-
Dragging certain data bindings directly onto the design surface from the Field List menu. A default object is added and the data binding is used to populate it with data when reports are generated.
-
Dragging an object from the toolbox onto the design surface, and then connecting it with a data binding. Not all objects available in the toolbox can be data-bound.
For more information, see Visualizing app data in your report and related topics.