What you will achieve
By the end of this guide you will have a Planningboard widget that reads a team or role identifier from a Polarion page parameter and applies it as a swimlane filter at load time. Users who need a different team view change the parameter value in the page URL or the page parameter widget — no widget reconfiguration required.Prerequisites
- A Planningboard widget already embedded in a Polarion LiveDoc or Wiki page.
- The swimlane Assignment Mode set to
ASSIGNEEorENUMon that widget (page parameters for swimlane filtering apply to these modes). - If you plan to filter by Nextedy Team work items: the Team work item type ID in your Polarion project must be exactly
team(hard-coded constraint — see Common pitfalls).
How page parameters work with Planningboard
Polarion pages support page parameters: named string values passed to every widget on the page. Planningboard reads these values from the page context and can use them to control the swimlane filter (selectedTeam or a resource field filter) at render time.
1
Add a page parameter to the Polarion page
- Open the LiveDoc or Wiki page that contains the Planningboard widget in Edit mode.
- Insert a Page Parameters widget (Polarion built-in) somewhere on the page — typically above the board.
- Define a parameter. For team-based filtering, a sensible name is
teamId. Set a default value if you have a primary team.
2
Configure the Planningboard widget to read the parameter
Open the Planningboard widget’s configuration panel.Replace
For ASSIGNEE mode — filtering by selected team
Set the Selected Team field (selectedTeam property) to reference your page parameter using the Polarion page-parameter expression syntax:teamId with the exact parameter name you defined in Step 1.When useTeamsService = true is also enabled, the selectedTeam value is matched against the Teams Service team IDs. Ensure the parameter value your users supply matches the team ID exactly (case-sensitive).For ENUM mode — filtering by a resource field value
If your swimlanes are driven by an enum field (for example ateam custom field on work items), set the resource field and then constrain which enum values appear as swimlanes by referencing the page parameter in the Rows Filter field:3
Save and verify the initial state
- Save the page.
- With the default parameter value in place, the board should load showing only the swimlanes that match.
- Change the parameter value in the Page Parameters widget to a different team ID and reload — the swimlanes should update to reflect the new value.
4
(Optional) Use Scripted Page Parameters for role-aware defaults
If you want the board to default to a team based on the current user’s Polarion role — without the user having to enter anything — add a Scripted Page Parameter widget instead of (or alongside) the plain page parameter.The script reads the current user’s roles from the Polarion context and maps them to a team ID:Set the Output Parameter Name on the scripted widget to
teamId so it feeds the same parameter name that the Planningboard widget reads.See Scripted Page Parameters for the full scripted widget API and additional examples.Configuration reference
Common pitfalls
You should now see…
After completing these steps:- The Planningboard loads with swimlanes filtered to the team or resource identified by the current page parameter value.
- Changing the page parameter value (either in the Page Parameters widget or via URL) causes the board to reload showing only the matching swimlanes.
- If you added a scripted parameter, the board defaults automatically to the team matching the current user’s role, with no manual entry required.
${pageParam.*}; (2) the parameter value matches the team ID or enum option ID exactly; (3) useTeamsService is set correctly for your assignment mode.
See also
- Use Page Parameters — full reference for Polarion page parameters and Planningboard integration
- Scripted Page Parameters — role-aware and computed parameter values via Velocity scripts
- User and Assignee Swimlanes — configuring ASSIGNEE mode swimlanes
- Enumeration Field Swimlanes — configuring ENUM mode swimlanes
- Widget Parameters Overview — complete widget parameter reference