[]
        
(Showing Draft Content)

Create Custom Parameter Panel

The Parameters Panel can be designed (and viewed) in Report Designer using the input controls. The users have the ability to create and define parameters/prompts quickly. The reports containing the custom parameter panel can be viewed when previewing the report. On preview, users can select the start date and the end date, and select hierarchical parameters.

Design a Parameter Panel

Design a Parameter Panel

  1. Go to the Parameters tab at the top.

  2. Create the custom parameters view for the report by clicking the Generate button. If the report already has pre-defined report parameters, a default parameters layout is generated in the design area from these parameters. You can then build the parameters panel from the default view or simply create a fresh parameter panel using the controls available in the parameters designer.

  3. Drag-drop the controls from the toolbox that will be used to input parameters.

  4. Set the properties of each of the control such as Binding, Text, Display, etc. depending on the function of each control.

  5. Add buttons to perform actions like Preview to preview report based on selected parameters, Reset to reset the parameter selection to default, and Clear to clear the selection, on the preview window.

Preview the Report with Custom Parameter Panel

Preview the Report

The controls make the panel have default properties set like name, label, default value, etc. Following is the list of controls available in the Report Designer.

  • Text Editor: For single-line parameter of String type.
  • Number Editor: For parameters of integer/float type. Set the control's type as Up-down Editor for increasing or decreasing at specified steps, or as Slider to be able to slide the value of the parameter.
  • Number Range Editor: For a parameter range of integer/float type. Need to specify the range in From and To fields in Binding.
  • Boolean Editor: For parameters with the Boolean value.
  • DateTime Editor: For parameters with a date-time value.
  • Date Range Editor: For parameters with a date field. Specify the start date and end date in From and To fields in Binding.
  • Multivalue Editor: A list of multiple values appears in the drop-down with the search box.
  • Dropdown Editor: A list of fields in the parameter appears in the drop-down with a search box. Single or multiple values can be selected.
  • List Editor: Fields bound to parameter appear as a list, with checkboxes to select the field.
  • Tree View: For hierarchical parameter. Select the Tree View type as List or Dropdown.
  • Heading: For entering a heading with a choice of colors for error or warning.
  • Plain Text: For entering single or multiline text.
  • Button: To perform actions on the preview screen. Preview to preview report based on the selected parameters, Reset to reset the parameter selection to default, and Clear to clear the selection, on the preview window.

Use Vertical Layout to see how parameters will look in the preview window. You can reorder the parameters by drag-drop operation. You can also control the position of labels for the controls making the panel. Also, you can choose the Highlight Required option to highlight the errors while designing the parameter panel.