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
…&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 aserverRender Velocity template the values are read through $context.parameters.<name> — the server-side counterpart of the client-side () => context.parameters.<name> form:
$!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
wherecondition, so the query runs without it and the broader set loads. - Required. A
requiredparameter with no URL value and nodefaultblocks the sheet. The dialog shows the first missing parameter’sifMissingmessage and button; when several are missing, the message lists them all. Administrators additionally get an Open Configuration action.
A broken expression fails loudlyA 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
_.
Legacy names still open existing linksBefore 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.Context fields are unchanged — no config edits neededThe 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.
The _collection Parameter
?_collection=<id> opens the sheet inside a Polarion Collection: the sheet shows only the work items of the Collection’s documents, each at the revision the Collection pins for its document. Filters, expanded levels, item pickers and the links in cells follow the same Collection. See Collection-Scoped Sheets for the behavior and Open a Sheet in a Polarion Collection for the task.
The Collection is looked up in the sheet’s own project (
_project), so a Collection owned by another project cannot be named.
Unlike _revision, which shows the whole sheet at one revision and makes it read-only, _collection applies a revision per document, and rows from documents the Collection leaves live stay editable. Use one or the other: a _revision beside _collection makes the sheet read-only.
The context.revision field is not set by _collection. Read the Collection through context.collectionId and context.collection (see Dynamic Value Expressions).
See Also
- URL Parameters — the parameter mechanism concept
- Collection-Scoped Sheets — what
_collectionscopes - Server-Side Filtering — filtering a sheet on the server, at the root and on expand levels
- Open a Scoped Sheet with URL Parameters
- Dynamic Expressions Reference
- Context Expressions — the full context object
- Sheet Header — title, subtitle, and icon driven by the same context
- Expand Clause — expand subquery
where