Skip to main content

Report gallery and favourite properties

The advanced report designer has two tools that shorten repeated work: the Report Gallery, where you save controls, bands and styles to reuse in other templates, and the Favorites tab in the Properties panel, which gathers the properties you use often. Both are kept for each user on their computer, not in the company database. This page is for template builders and support staff.

Where they are kept​

The designer keeps the gallery and the favorite properties in two files inside a folder named Report Designer. The folder is in the program data folder of the current Windows user, in the application data of their profile, under the version folder 10.0. The files are named ReportGallery.xml and FavoriteProperties.xml.

What follows from thisDetail
Each Windows user has their own gallery and favorite propertiesAnother user on the same computer does not see what you saved.
Each computer has its own filesThe gallery does not move to another computer by itself. Use Export... and Import... (see below).
Templates do not carry the galleryThe export file of a template does not include the gallery or the favorite properties.

Open the Report Gallery panel from the designer panels. It has tabs that sort the saved items by type:

TabWhat it holds
ReportsComplete report layouts.
BandsReport bands with their controls.
ControlsOne control or a group of controls.
Data SourcesData sources. The program does not allow adding from a data source (see below).
StylesStyles.

Add an item to the gallery​

  1. Select the control, band or style in the designer.
  2. Right-click and choose Add to Gallery. The designer adds the item to the gallery tab that fits its type.

The program removes the Add to Gallery command only from the right-click menu of the data source of the report, so the data source is not saved in the gallery. The command stays for other items.

Panel commands​

CommandWhat it does
Add New FolderCreates a folder to organize the saved items.
RenameChanges the name of an item or a folder.
Copy, cut, paste and deleteThe usual commands on the saved items.
RefreshReads the gallery from its file again.
Export...Saves the gallery to a file that you move to another computer.
Import...Reads the gallery from a file.

Import... replaces everything in the gallery with the content of the file. When you import, the warning "All gallery items will be overwritten. Do you wish to continue?" appears, and it is shown in English in the Arabic interface. If the file cannot be read, the message "Cannot import gallery items from the specified file" appears.

Use a saved item​

Drag the item from the panel to the design surface. When you use an item from the Reports tab on an open report, the program asks: "The current report layout will be lost. Do you wish to continue?". Decide before you accept, because the current layout is lost when you do.

The control keeps its bindings and expressions as they were saved. If you use it in a template for another document type, check that the fields it refers to exist in the data source of that type.

Favorite properties​

The Properties panel has a tab named Favorites that shows the properties you chose for the selected control. If you chose none for this type of control, it shows "Favorite properties are not specified for this report control."

To choose the favorites, right-click inside the tab. The Favorite Properties Editor window opens, and you tick in it the properties you want for the type of the selected control. The list is kept for each control type, so it appears for every control of that type in every template you open afterwards.

Example: favorites for a text control​

A template builder often changes the Format String property and the Can Grow property of text controls.

  1. Select a text control in any template and open the Favorites tab in Properties.
  2. Right-click inside the tab, and tick the two properties Format String and Can Grow in the Favorite Properties Editor.

The two properties appear in the Favorites tab when you select any text control in any template, on the same computer and for the same Windows user.

This page applies to alameen ERP 10, version 10.1.79.764.