What you will achieve
By the end of this tutorial, you will have a working checklist attached to a Polarion LiveDoc. You will create a custom field for documents, embed the checklist widget into the document report page, configure a document-level template, and verify the setup by interacting with checklist items on a live document.Prerequisites
- Nextedy CHECKLIST plugin installed and active (see Installation)
- A Polarion project with administrator access
- Permission to create custom fields and edit document report pages
- Familiarity with Polarion LiveDoc structure
Setup overview
1
Create a checklist custom field for documents
Create a new custom field on the Module (document) object to store checklist data.
- Open your Polarion project and navigate to Administration > Custom Fields > Module Custom Fields
- Click Add to create a new field
- Set the following values:
- Save the custom field
docReview field listed in the Module Custom Fields table.2
Embed the checklist widget in the document report page
Unlike work items, document checklists are displayed using a script block widget on the document report page rather than a form extension.
- Open the LiveDoc where you want to add the checklist
- Click Customize Report Page in the document toolbar
- Select Customize Shared Report to share the configuration across documents of the same type
- In the report page editor, place a Script Block Widget in the location where you want the checklist to appear
- Enter the following rendering call in the script block:
The
"docReview" string in the checklist() call must match the ID of the custom field you created in Step 1. If your field has a different ID, substitute it here.- Save the report page
3
Configure a document template
Set up a template so that documents inherit a predefined checklist. Document templates use a different configuration property than work item templates.This tells the Checklist plugin to merge the checklist items from the specified template document into every document that uses the Alternatively, you can use the
- Navigate to Administration > Configuration Properties
- Add the following configuration property, replacing the document location path with the path to the document that holds your master checklist:
docReview field.You can scope the template to a specific document type using the hierarchical property pattern:For example, to apply a template only to documents of type
specification:nextedy.checklist._TYPEID._FIELDID.documentTemplateHolder configuration property to point to a custom field that dynamically holds the template document location, allowing different documents to use different templates.The document location path format may vary depending on your project structure. Verify the path by checking the document properties in Polarion.
4
Verify the checklist on a document
- Open a LiveDoc that has the report page configured in Step 2
- Scroll to the location where you placed the script block widget
- Click a checklist item to change its result state (OK, NOK, N/A, Pending)
- The checklist state saves automatically to the document
Next steps
Your document checklist is now operational. Continue with these topics:- Work Items Checklist — set up checklists on individual work items within documents
- Test Run Checklist — attach checklists to test runs
- Plan Checklist — add checklists to project plans
- Baselines and Comparison — freeze checklist states for document baselines and audit compliance
- Workflow Gates and Validation — enforce checklist completion before document status transitions
- Configuration Properties — full reference of all
nextedy.checklist.*properties