Skip to main content
URL query parameters are surfaced to the sheet configuration as context.parameters.<name> and read through dynamic value expressions (() => …). Fed into a query where, they scope the query on the server at render time. For the parameter mechanism see URL Parameters; for how a where filters on the server see Server-Side Filtering; for the task see Open a Scoped Sheet with URL Parameters.

Reading a Parameter

For a URL ending in …&domain=HW, context.parameters.domain resolves to the string HW. Any parameter present on the URL is readable this way; declaring it in the parameters block (below) is only required for defaults and the required gate.

Configuration Surface

The same () => context.parameters.<name> expression applies across the source configuration:

Server-Rendered Properties

Starting with Powersheet 26.7.2, URL parameters also reach server-rendered properties defined in the data model. Inside a serverRender Velocity template the values are read through $context.parameters.<name> — the server-side counterpart of the client-side () => context.parameters.<name> form:
Read the parameter with Velocity’s quiet reference ($!context.parameters.<name>, with the ! immediately after the $) so a missing parameter renders blank instead of the literal reference text. A serverRender template driven by a URL parameter remains read-only — it can read Polarion data but not modify it. See Context Variables for the full behavior and a worked example.

The parameters Block

A top-level parameters object declares named parameters, keyed by parameter name (mirroring how columns and views are keyed). It drives defaults and the required gate:

Required and Optional Parameters

  • Optional (the default). A referenced parameter with no value drops its where condition, so the query runs without it and the broader set loads.
  • Required. A required parameter with no URL value and no default blocks the sheet. The dialog shows the first missing parameter’s ifMissing message and button; when several are missing, the message lists them all. Administrators additionally get an Open Configuration action.
A parameter that has no value degrades gracefully (the condition is dropped). This is distinct from a malformed () => … expression, which raises an error during query construction rather than silently producing a filterless query.

Reserved System Parameters

Powersheet carries its own navigation state in URL parameters. Starting with Powersheet 26.7.2, these system parameters are prefixed with an underscore (_) so they cannot collide with your own parameter names. They also populate the corresponding typed context fields (see the note below). Reserve the leading underscore for Powersheet: do not give your own parameters names beginning with _.
Before 26.7.2 the navigation parameters had no underscore. The legacy bare names listed above (document, revision, documentTitle) are still honored so links saved in Polarion documents, wikis, and bookmarks keep working unchanged. When both the underscored and the legacy name are present on a URL, the underscored one wins. Writes only ever emit the underscored form, so a rewritten URL never carries two disagreeing copies. _project, _view, and _version are internal and never appeared in saved links, so they have no legacy alias.
The rename applies to the URL only. The typed context fields a configuration reads — context.project, context.document, context.revision, context.documentTitle — keep their unprefixed names and behavior, so existing sheet configurations need no changes. And because the URL system names are now underscore-prefixed, a user-defined parameter named document (or any former reserved name) arrives verbatim in context.parameters.document and no longer affects navigation.

The _view Parameter

?_view=<id> opens the sheet in a saved view identified by its id. When _view is absent, the configured default view (if any) is applied instead. The value is part of the URL, so the selected perspective is shareable.

See Also

Last modified on July 28, 2026