UI Preferences Configuration

The UI Preferences Configuration (ui_preferences.conf) file includes the ui_preferences_config parameter with an enabled property that turns the associated functionality on or off in the application. In order to use the associated functionality, the enabled property must be set to true and the application must be bounced.  The ui_preferences_config parameter also includes the following properties.

Parameter

Default Value

Parameter Description

view_all_max_row_count

1000

This property indicates the maximum numbers of records that can be displayed in a standard grid. The default value for this property is 1000.  The grid pagination displays a numbered link based on the value of this property and the link is enabled if there are more than 500 records returned from the search results.  For example, if the value is 1000, then a 1000 link is added in the grid pagination and up to 1000 records are returned when the 1000 link is selected. The value of this property should be greater than 500 and must be numeric.  Performance implications should be considered when setting the value for this parameter.

Note: If the showViewAllonGrid property is not set to true in the metadata for the grid and/or the viewAllRecordsOnGrid feature flag in the feature.conf file is set to false, then grid pagination does not include the ability to show more than 500 records at one time.  Refer to the “Feature Flag Configuration” topic for more information about the viewAllRecordsOnGrid feature flag.

enable_500_pagination_option

false

This property determines whether the 500 pagination link should be available on grids. The default value for this parameter is false. If your site wants to enable the 500 pagination link on all grids, then set this value to true. Performance implications should be considered when setting the value for this parameter. Refer to the “Navigation & Record Selection” topic in the CGI Advantage Page/Table User Guide, for more information.

spinner_lag_time

3000

This property defines the spinner lag time in milliseconds. This property defines how long the UI should wait for response before loading the spinner. The default value for this property is 3000. With the default set to 3000, the UI will wait for 3 seconds, if it receives a response within 3 seconds, then the page will be refreshed without the spinner; otherwise, the spinner would be loaded for the remainder of the time.

spinner_max_time

300000

This property defines the spinner max duration time in milliseconds. This property defines on how long the UI should for a response before closing the spinner. The default value for this property is 300000. With the default set to 300000, the UI will load the spinner and wait for the server response, if the server does not respond back in 5 minutes (300000 ms), the spinner will be closed.

column_title_wrap_count

10

This property defines the dynamic Column Wrapping Count for the column title. The default value for this property is 10. It provides the number of characters in a title’s column that after the next space, should be wrapped to the next line.

min_inputfield_char_display

10

This property defines the minimum display width (in characters) for fields that include a calculator drop-down. All valid characters in the calculator input field such as numbers, commas, and decimals are also included in the count when determining the display width. An example of the calculator field type is the Posting Amount field on Budget Requests. The recommended setting for this property is 10 to 25. Sites should consider heading width settings when determining this setting.