BackPrevious Page Next PageNext

Working with Custom Fields

Creating and enabling custom fields

Setting value to custom fields

Hiding custom fields

Custom fields are user defined fields which can be used as resource properties, the same as Type, Description, Last Modified, and so on. They are created and maintained by administrators in JReport Server console.

Creating and enabling custom fields

  1. In the server console, point to Administration on the system toolbar, and then click OtherCustom Fields from the drop-down menu to display the Custom Fields page.

    Custom Fields page

  2. Click New Custom Field.
  3. In the New Custom Field dialog, provide a name and description for the custom field.

    New Custom Field dialog

  4. To enable the custom field, check the Enabled option.
  5. Click OK to create the custom field.

The new custom field is then added in the custom field table which consists of the following columns.

Column Name Description
Custom Field Name Displays the names of the custom fields.
Description Displays the information about the custom fields.
Enabled Shows whether the custom fields are enabled or not.

In the custom field table, administrators can sort, edit and delete the custom fields as follows:

Setting value to custom fields

When publishing resources to JReport Server, if there are custom fields enabled, they will be displayed in the publishing dialog and you can specify the value of the custom fields for each resource according to your requirements. The custom field values can also be defined by setting resource properties.

Hiding custom fields

By default, all the enabled custom fields will be displayed the Resources page in the server console. If you want to hide a custom field from being shown in this page, follow the steps below:

Any user can hide a custom field for himself:

  1. In the server console, go to the Resources page and click Tools > Preferences on the task bar.
  2. In the General tab of the Preferences dialog, unselect the checkbox in front of the corresponding custom field, then click OK.

Or,

  1. In the server console, click My Profile on the system toolbar and select Customize Server Preferences from the drop-down menu.
  2. In the Customize Server Preferences page, go to the General tab, unselect the checkbox in front of the corresponding custom field in the Columns Shown in Resources List section.
  3. Click OK to accept the setting.

Administrators can hide a custom field for all users:

  1. In the server console, point to Administration on the system toolbar, and then click Server Profile > Customize Server Preferences from the drop-down menu.
  2. In the Customize Server Preferences page, go to the General tab, unselect the checkbox in front of the corresponding custom field in the Columns Shown in Resources List section.
  3. Click OK to accept the setting.

BackPrevious Page Next PageNext