Enable or disable filtering on fields with FLS rules

You can enable or disable filtering on fields that have field level security (FLS) rules.

By default, fields with FLS rules are not available to users for filtering. For example, when a user creates a filter in a grid view, fields with FLS rules are excluded from the list of available fields for the filter.

Consider the performance implications before changing the default configuration. Allowing users to filter on fields with FLS rules can have significant performance impacts because the rules need to be evaluated on every record that is being filtered.

If you want to change the default configuration, you have the following options:
  • Allow users to select fields with FLS rules when they create filters, but do not apply the FLS rules when getting the filter results.

    To use this option, set Platform > Repository > Resource > Filtering > FLS > Include In Filter Selection to True and set Platform > Repository > Resource > Filtering > FLS > Evaluate FLS Logic to False.

    With this option, users can create filters that use fields with FLS rules. When users apply the filter, the FLS rules are not evaluated.

  • Allow users to select fields with FLS rules and evaluate the FLS rules when the filters are applied.

    To use this option, set both Platform > Repository > Resource > Filtering > FLS > Include In Filter Selection and Platform > Repository > Resource > Filtering > FLS > Evaluate FLS Logic to True.

    With this option, users can create filters that use fields with FLS rules. When users apply the filter, the FLS rules are evaluated to determine the results of the filter.

Note: Changing these settings to True can impact performance.
Platform > Repository > Resource > Filtering > FLS > Include In Filter Selection
Default: False
Values:
  • False - Exclude fields with FLS rules from the list of available fields
  • True - Include fields with FLS rules in the list of available fields
Platform > Repository > Resource > Filtering > FLS > Evaluate FLS Logic
Default: False
Values:
  • False - Do not evaluate FLS rules when applying filters.
  • True - Evaluate FLS rules when applying filters. Applies only when Include In Filter Selection is also set to True.