Skip to main content
diagram

Text Field Suggestions

When you type in a text column, Risksheet queries the server for existing values used in the same field on other risk items. This makes it easy to reuse terminology and keep the analysis consistent.

Request Parameters

The autocomplete request from the grid carries the following parameters. They are produced automatically by the editor.
Text field autocomplete is controlled by the global.suggestTextFields property in the sheet configuration (default: true). When enabled, the server queries existing field values and suggests matching entries as you type.

Search Behavior

Project-Level Configuration

Several aspects of suggestion behavior are configured per Polarion project under Administration > Nextedy Risksheet > Setup. These defaults apply across every Risksheet document in the project unless overridden in the sheet configuration.
Project-level suggestion settings are configured in the Polarion project administration. Contact your administrator to adjust these defaults.
Link columns (such as itemLink and multiItemLink) use the server’s search interface to find linkable work items. All data comes from Polarion under the current user’s authorization — Risksheet does not cache a separate copy.

Auto-Selection

When autocomplete returns exactly one matching item for non-task columns, the system automatically selects it. This speeds up data entry for unambiguous searches.

Inline Item Creation

When canCreate is true on a link column, you can create a new linked work item directly from the autocomplete dropdown. The new item is created with the typed text as its title. A global switch also exists on the downstream task data type: when dataTypes.task.canCreate is set to false, no new task items can be created from any column — users can only link to existing items from a library. The multi-item link editor extends the autocomplete system for columns that reference multiple linked work items.

Query Factory Integration

Columns can use a queryFactory to apply a custom Lucene query to autocomplete results. The factory function receives an info object with context data and returns a Lucene query string that filters which work items appear in the dropdown.
Query factories are defined in the top-level queryFactories section of the sheet configuration and enable context-aware filtering such as:
  • Restricting items to a specific project or document
  • Filtering by work item state, status, or custom field value
  • Reading values from the top panel (for example, a dropdown the user has selected) and folding them into the query
See Query Syntax for the supported filter expressions.

Suggestion Validation

Suggested items can be validated through column configuration. The grid uses the result to decide whether a suggestion is offered, accepted, or marked as invalid.

Local Changes Integration

Autocomplete results include items created in the current session but not yet saved to Polarion. This lets you link to newly created items immediately, without first saving the document.

Complete Example

In this configuration:
  • The failureMode text column shows autocomplete suggestions from existing failure mode values used in the same project.
  • The linkedReqs multi-item link column searches for requirement work items with a custom query filter and allows inline creation.
  • The mitigationTask task link column provides autocomplete with uniqueness validation to prevent duplicate task assignments.
Last modified on July 10, 2026