Define formatting rule

Define formatting rule for a field

Formatting allows you to select and apply formats to records in order to highlight them in the report. This helps to draw to attention to certain reports or make the data stand out from the rest of the records.

There are two options to apply format:

  • All Records - This option applies the selected formatting to the field across all records.
  • Selected Records - This option ensures that the formatting of a field value is applied to the records that match your condition. To use this option, you need to set the criteria. You will be able to set more than one condition.

Define formatting rule for all records of a field

The formatting rule for all records can be done for records in both the Quick View and Detail View.

  • Quick View - This option is to define formatting rule for records in Quick View.
  • Detail View - This option is to define formatting rule for records in Detail View.

Quick View

To define a formatting rule:

  1. Navigate to the Design page.
  2. Click the Configure Fields for Web button.
  3. The Configure Fields window will appear.
  4. Click Style option in the window.
  5. Click Configure button.
  6. Select the suitable template.
  7. Choose formatting.
  8. Select All Records under the Apply this format for section.
  9. Enter the name of the rule in Name the format field.
  10. Click SAVE. The rule will be added under Formatting Rules.
  11. Click Close icon to go back to design page.

Upon accessing the application, this rule will be applied to all the records.

Detail View

To define a formatting rule:

  1. Navigate to the Design page.
  2. Click Detail View option under Report Customization.
  3. Click the Configure Fields for Web button.
  4. The Configure Fields window will appear. Select the required field.
  5. Click the Formatting icon. 
  6. The template window will appear. Select the suitable template.
  7. Choose formatting.
  8. Select All Records under the Apply this format for section.
  9. Enter the name of the rule in Name the format field.
  10. Click SAVE. The rule will be added under Formatting Rules.
  11. Click Close icon to go back to design page.
     

Upon accessing the application, this rule will be applied to all the records.

Define formatting rule for selected records of a field

The formatting rule for selected records can be done for records in both the Quick View and Detailed View.

  • Quick View - This option is to define formatting records for selected records in Quick View.
  • Detail View - This option is to define formatting records for selected records in Detail View.

Quick View

To define formatting rule:

  1. Navigate to the Design page.
  2. Click the Configure Fields for Web button.
  3. The Configure Fields window will appear.
  4. Click Style option in the window.
  5. Click Configure button.
  6. The template window will appear. Select Custom.
  7. Choose formatting
  8. Determine the font and color.
  9. Select Selected Records under the Apply this format for section.
  10. Select the field on which your rule must be applied.
  11. Select the Operator for the condition.
  12. Enter the condition.
  13. Enter the name of the rule in Name the format field.
  14. Click SAVE. The rule will be added under Formatting Rules.
  15. Click Close to exit.
     

Upon accessing the application, this rule will be applied to the records that match the criteria that you have created.

Detail View

To define formatting rule:

  1. Navigate to the Design page.
  2. Click Detail View option under Report Customization.
  3. Click the Configure Fields for Web button.
  4. The Configure Fields window will appear. Select the required field.
  5. Click the Formatting icon.
  6. The template window will appear. Select Custom.
  7. Choose formatting
  8. Determine the font and color.
  9. Select Selected Records under the Apply this format for section.
  10. Select the field on which your rule must be applied.
  11. Select the Operator for the condition.
  12. Enter the condition.
  13. Enter the name of the rule in Name the format field.
  14. Click SAVE. The rule will be added under Formatting Rules.
  15. Click Close to exit.
     

Upon accessing the application, this rule will be applied to the records that match the criteria that you have created.

Related Topics

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: appcreator-support@manageengine.com