Creating web reports via wizard

On the JReport Console > Resources page, you can directly create a new web report in a folder into which a catalog containing one or more business views has been published.

To create a web report:

  1. Open the folder and select the catalog for the new web report from the Catalog drop-down list, then click New > Report on the task bar of the Resources page.
  2. In the Select Report Type dialog, check the option Web Report and click OK. The Web Report Wizard is then displayed.
  3. In the Page screen, choose a template for the report. Template1 allows for your company logo and report title to be added. Template2 allows for more such as company name and title and report sub title. Use to load your company logo. You can set the font properties for company titles and report titles using . Click the Page Setup link to set the page properties. If you are an administrator with the privilege of publishing resources, you can also create a new template according to your requirement.
  4. In the Layout screen, select the required layout with which you want to create the report. Then, in the edit layout area, select a tabular cell and select the component you want to display in the cell. Click the Align drop-down list to set the component to the left, center or right of the cell. Repeat this to add component to the other cells.

    If required, you can split the selected cell horizontally or vertically by clicking the Horizontal Split or Vertical Split button, merge adjacent cells by selecting them and clicking Merge. You can also resize the tabular cells by dragging the cell border.

  5. In the Bind Data screen, define the specified components (for details about how to define a component, refer to the specific topic in Inserting components). You can use the Back and Next buttons to switch between the components.
  6. In the Style screen, apply a style to the report.
  7. Click Save to save the report to the server resource tree. For details, see Saving the report.
  8. Click Run to open the report in Web Report Studio.

See also Web Report Wizard for details about options in the wizard.

Report templates

Web reports allow you to choose a starting template. If you are an administrator with the privilege of publishing resources, you can save report templates to include standard features such as a company logo, company name, privacy notices or any standard items and styles you want your users to start with.

A report template stores information in the page header and page footer as a starting point for a web report.

Report templates can be saved using the Web Report Wizard or Web Report Studio on the server, by administrator with the privilege of publishing resources.

The saved report templates will be added into the templates directory on the server <install_root>\templates, and will be automatically loaded onto the Page screen of the Web Report Wizard for use.

To create a report template from the Web Report Wizard:

The Web Report Wizard provides sample templates for you to define your own templates based on.

  1. In the Page screen of the Web Report Wizard, make use of Template1 and Template2 to customize your own report templates. Template1 allows for your company logo and report title to be added. Template2 allows for more such as company name and title and report sub title. Use to load your company logo. You can set the font properties for company titles and report titles using .
  2. To save the report template from the Web Report Wizard, click the Save button.
  3. In the Save As dialog, choose the file type of Web Report Template (*.wsld), and specify a name for the template in the File Name text field, or select an existing template to overwrite it. When done, click Save.
  4. If you want to further format the template, open a report in Web Report Studio that was created with the template you want to change, edit the page header and page footer, and then save the report template using the Save As option (Menu > File > Save As or the Save As button on the Standard toolbar).

To create or edit a report template using JReport Desinger or Web Report Studio:

You can make use of JReport Desinger or Web Report Studio on the server to create or edit your report template, by customizing desired information in the page header and page footer of a web report. Then save the report template using Web Report Studio on the server via the Save As option (Menu > File > Save As or the Save As button on the Standard toolbar).

To rename or remove a report template:

Go to the templates directory on your server <install_root>\templates, then rename or delete the template file (.wsld). For each template file, there is an image file (.wsld.png) which is used to display in the templates box of the Page screen of the Web Report Wizard, as a representative of the template. You will need to rename or delete the image file when you rename or delete the template file.