Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Expressions

Content Type Content Type Report GrooperReview.Pages.Design

Displays a report of all code expressions used by Data Elements in the current Content Type.

Remarks

The Expressions report provides a detailed listing of every code expression configured on Data Elements within the selected Content Type. Expressions are used throughout Grooper to implement calculations, default values, validation logic, captions, and custom behaviors for data extraction and validation.

This report helps users audit, review, and troubleshoot all expressions in one place, making it easier to identify dependencies, spot errors, and ensure consistency across the data model.

Report Layout and Features

  • Header:
    Displays the total number of expressions found in the current Content Type.
  • Table:
    Each row represents a single expression and includes:
    • Data Element: The display path of the element, shown as a clickable link for navigation.
    • Kind: The type of Data Element (e.g., Field, Section, Table).
    • Name: The property or variable name associated with the expression (such as CalculatedValue, DefaultValue, or a variable name).
    • Type: The .NET or value type that the expression evaluates to.
    • Expression: The code or formula itself, shown in a preformatted style for readability.
  • Navigation:
    Clicking a Data Element link opens its configuration in the design interface for further review or editing.

Usage Guidance

  • Use this report to review all expressions in your Content Type for accuracy, completeness, and maintainability.
  • Look for missing, duplicate, or potentially conflicting expressions that may impact extraction or validation.
  • Click any Data Element link to jump directly to its configuration and edit the associated expression.
  • This report is especially useful when refactoring, troubleshooting, or documenting your data model.

Example

5 Expressions

Data Element Kind Name Type Expression
Invoice Total Field CalculatedValue Decimal Subtotal + Tax
Invoice Date Field DefaultValue DateTime Now()
Discount Field IsRequired Boolean Subtotal > 1000
Line Items Table ItemCount Int32 Items.Count()
Vendor Name Section Caption String "Vendor: " + VendorName

Notification