Prerequisites
- The custom field must already be defined in Polarion (Administration > Custom Fields)
- The entity type must exist in your
domainModelTypessection - Access to the domain model YAML via Menu > Configuration > Edit Model
Step 1: Identify the Custom Field
Locate the custom field ID in Polarion. Custom field IDs typically use thec_ prefix.
| Polarion Setting | Example |
|---|---|
| Custom field ID | c_probability |
| Display name | Probability |
| Field type | Enum / String / Integer |
| Applicable work item types | hazard |
Step 2: Add the Property (Simple Form)
For most cases, add the property name directly under the entity type’sproperties section. The property name must match the Polarion field name.
null (empty after the colon) uses default configuration: the property is readable, updatable, and uses the property name as the Polarion field name.
Step 3: Add the Property (Extended Form)
For custom fields that need additional configuration, use the extended property format.Property Configuration Options
| Property | Type | Default | Description |
|---|---|---|---|
name | string | (key name) | Property name used in queries and binding paths. |
customFieldName | string | None | Polarion custom field ID. Required when the property name differs from the field ID. |
readable | boolean | true | Controls whether the property is visible in the sheet. |
updatable | boolean | true | Controls whether the property can be edited in the sheet. |
scalar | boolean | true | true for single values, false for collections. |
storage | string | See application | Persistence mechanism for the property. |
enumValues | array | None | Allowed values when the property type is an enumeration. |
Step 4: Add a Column for the Property
After adding the property to the domain model, reference it in your sheet configuration:Step 5: Configure Enum Properties
If the custom field is an enumeration, you can optionally constrain the allowed values:Enum values must match the exact option IDs defined in Polarion’s enumeration configuration. Check Administration > Enumerations for the correct IDs.
Step 6: Configure Read-Only Properties
To make a property visible but not editable:Step 7: Verify
- Save the domain model
- Reload the powersheet document
- You should now see the custom property displayed in the sheet column
- The
customFieldNamematches the Polarion field ID exactly - The custom field is defined for the correct work item type in Polarion
- The property
readableis not set tofalse
See Also
- Create an Entity Type — define the entity type that holds the property
- Configure a Relationship — add navigation properties for related entities
- Set Entity Permissions — control read/write access at the property level
- Properties — full property configuration reference
- Custom Fields — field type reference
- Debug Custom Field Issues — troubleshoot custom field problems
Sources
Sources
Source Code
DatabridgeMetadata.javaDomainModelTypeV2.javaprod-powersheet-src/com.nextedy.powersheet.client/cypress/fixtures/models/permissions.yamlprod-powersheet-src/com.nextedy.powersheet.client/cypress/fixtures/models/constraints-base.yamlrtm_model.yaml