Add Bookmarks and a Document Map

<< Click to Display Table of Contents >>

Navigation:  User Interface (UI) Elements > Report Designer > Add Navigation >

Add Bookmarks and a Document Map

 

Add Bookmarks and a Document Map

This document describes how to use bookmarks for mapping the report elements' hierarchy to the Document Map that is displayed in a Print Preview, and speeds up the navigation through complex reports.

The example below is based on the following report:

ABBM1

This report displays products that are grouped by the CategoryName field.

The following image illustrates the resulting report with a hierarchical Document Map. Clicking any bookmark navigates the Print Preview to the document section containing the associated element.

ABBM2

Use the following steps to generate a Document Map in your grouped report:

1.Select the label placed in the Group Header band and switch to the Property Grid's Miscellaneous tab. Click the Bookmark property's marker and select the Bookmark Expression item. In the invoked Expression Editor, select the CategoryName data field.

ABBM3

In the legacy binding mode (if the Property Grid does not provide the Bookmark Expression item), you can specify this property in the Property Grid's Data Bindings category.

ABBM4

2.In the same way, select the label in the Detail band and bind its Bookmark property to the ProductName data field.

ABBM5

Most of the reporting controls (for example, Table, TableCell, CheckBox, etc.) supports the Bookmark property.

3.Set the same label's Parent Bookmark property to the label in the group band. This arranges bookmarks into a parentchild structure reflecting the report elements' hierarchy in the Document Map.ABBM6

 

4.Select the report itself and assign text to its Bookmark property to determine the root node's caption in the Document

Map.

ABBM7

The root bookmark displays the report name if you do not specify this property.