Prerequisites
- A powersheet document open in Siemens Polarion ALM with a valid sheet configuration and domain model
- The entity type you want to create must be defined in the domain model with a valid
polarionTypemapping - Your user account must have create permissions for the target work item type
Step 1: Add a New Row
Click the Add button (➕) in the sheet toolbar, or use the keyboard shortcutCtrl+Space while a cell is selected. A new empty row appears in the sheet.
The new row is created at the current hierarchy level. If you have a multi-level sheet (e.g.,
UserNeed > SystemRequirement), the row is added at the level corresponding to the selected cell’s entity type.Step 2: Enter Required Fields
Click into the new row and type directly into cells to populate field values. The cell that receives initial focus is determined by thehasFocus property in your sheet configuration:
Enter to commit the cell edit and move to the next cell.
Step 3: Configure Document Routing (Optional)
If your domain model definesconstraints.create on the entity type, new work items are automatically routed to the correct Polarion document. For example:
SystemRequirement, it is automatically placed in the document matching the specified folder, name, and type.
Step 4: Review Before Saving
Before saving, use the review mode to inspect your pending changes:- Click the Review toggle in the toolbar — it appears automatically when changes exist
- The sheet filters to show only rows with pending changes
- New rows are indicated with the Added state marker on the row header
| Review Filter | What It Shows |
|---|---|
| Added | Newly created rows not yet persisted |
| Modified | Existing rows with changed values |
| Deleted | Rows marked for removal |
| Problems | Rows with validation errors |
Step 5: Save Changes
Click the Save button in the toolbar. During the save operation:- The sheet temporarily enters read-only mode to prevent concurrent edits
- Entities are saved in dependency order — parent entities before dependents
- Server-generated identifiers (such as
objectId) are assigned to new items - The undo stack is cleared on successful save
Step 6: Verify
You should now see the new work item in the sheet with a server-assigned ID. The row header no longer shows the Added state indicator, and the Save button is disabled (no pending changes).Open the corresponding Polarion LiveDoc to confirm the work item appears in the expected document location with the correct work item type.
See Also
- Update a Work Item — modify existing work item fields
- Create a Link — link the new work item to other entities
- Handle Validation Errors — resolve errors during save
- Configure Constraints — set up document routing constraints
- Map to Polarion Types — configure
polarionTypemappings
Sources
Sources
Source Code
prod-powersheet-src/com.nextedy.powersheet.client/cypress/fixtures/models/permissions.yamlprod-powersheet-src/com.nextedy.powersheet.client/cypress/fixtures/models/constraints_create_only.yamlprod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/sheet/commands/index.tsDatabridgeMetadata.javaprod-powersheet-src/com.nextedy.powersheet.client/cypress/e2e/userFlows/multiple-entity-type-flow.cy.ts