Configuration Basics
What is a sheet configuration?
A sheet configuration is a YAML file that defines how Powersheet displays and interacts with data from the domain model. It specifies columns, data sources, views, column groups, formatters, and sorting behavior. Each Powersheet document references a sheet configuration through thenextedySheetConfig custom field. Configurations are managed in Administration > Nextedy POWERSHEET > Sheet Configurations.
See Creating Your First Sheet Configuration for a step-by-step tutorial.
How does a sheet configuration relate to the domain model?
The sheet configuration depends on the domain model for entity type definitions, relationships, and property metadata. Column binding paths in the configuration reference properties and expansion paths defined in the domain model. Themodel property in the sources section specifies which domain model to use. If the model and configuration do not match, you will see errors when loading the sheet.
Should I start with a complex configuration or build incrementally?
Start with the simplest possible configuration — a single entity type, a few columns, and one data source. Verify that the basic setup loads correctly, then extend gradually by adding relationships, column groups, and formatters. Jumping to a complex multi-entity configuration leads to difficult-to-diagnose errors.Columns and Binding Paths
How do column binding paths work?
Column keys in the YAML use dot-separated binding paths that follow the expansion paths defined in the domain model. A simple property liketitle maps directly to the base entity, while a multi-level path like systemRequirements.systemRequirement.severity navigates through a relationship to access a property on a related entity type. Each segment of the path corresponds to a navigation property in the domain model.
What column properties can I configure?
Each column supports several configuration properties:| Property | Type | Description |
|---|---|---|
title | string | Display header text |
width | number | Column width in pixels |
visible | boolean | Show in default view (default: true) |
hasFocus | boolean | Receives focus when editing a row |
formatter | string | Name of a formatter for conditional styling |
columnGroup | string | Associates column with a visual group |
Data Sources and Scoping
How do data sources work in the sheet configuration?
Thesources section defines how Powersheet queries data from Polarion. Each data source specifies a model reference, a from entity type, optional where filters, expand paths for loading related entities, and take limits. Powersheet automatically applies document-scoping constraints to all queries, ensuring data is filtered to the current document context.
Can I use dynamic values in my configuration?
Yes. Sheet configurations support$context expressions that are resolved at runtime. For example, $context.parameters.model lets you resolve the model name from document parameters rather than hardcoding it. Dynamic values are also used in constraint definitions to route entity creation based on the source entity type.
Can multiple documents share the same configuration?
Yes. Sheet configurations are standalone YAML files stored in the repository. Multiple Powersheet documents can reference the same configuration file through thenextedySheetConfig custom field. This is the recommended approach for maintaining consistent views across related documents. Global configurations (stored at the repository level) can be shared across all projects in your Polarion instance.
Document Management
How are Powersheet documents created?
Powersheet documents are created as Polarion LiveDoc modules with a specific document type (typically containing “powersheet”). You can create documents through the Powersheet administration interface by specifying a name, folder location, and the sheet configuration to use. Documents can also be created by duplicating an existing template, which copies the module structure and content from another project.What shows up in the Powersheet Drive sidebar?
Powersheet Drive displays all documents matching the configured document query in the project. By default, it lists all documents of typepowersheet. You can customize which documents appear by configuring the com.powersheet.powersheetDocumentQuery project property to include additional document types or apply custom filters.
See Setting Up Navigation for details on configuring Powersheet Drive.
Sources
Sources
KB Articles
- Getting Started: Sheet Configurations
- Getting Started: Data Model configuration
- Core Concepts of Powersheet
prod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/common/types/api/document.tsprod-powersheet-src/com.nextedy.powersheet.client/cypress/fixtures/configurations/constraints_composing.template.yamlprod-powersheet-src/com.nextedy.powersheet/src/com/nextedy/powersheet/enumProvider/SheetConfigEnumProvider.javaprod-powersheet-src/com.nextedy.powersheet.client/src/modules/Powersheet/Powersheet.tsxprod-powersheet-src/com.nextedy.powersheet/src/META-INF/hivemodule.xml