Prerequisites¶
Before building an application, make sure the following is available on your computer and on the Polarion server.
On your computer¶
| Requirement | Notes |
|---|---|
| Node.js 20.19 or newer (22 LTS recommended) | Vite 7 requires Node 20.19+. Check with node --version. |
| npm | Ships with Node.js. The SDK is installed with npm from a URL on your Polarion server. |
| A code editor | Visual Studio Code or any editor with TypeScript support. |
| A way to create ZIP files | The examples include a small Node script; a plain zip command or the operating system's Compress function works as well, as long as the folder layout is correct. |
| Network access to the Polarion server | To download the SDK package and to upload the application. |
You do not need Java, Maven, the Polarion Java SDK or server file-system access.
On the Polarion server¶
| Requirement | Notes |
|---|---|
| Polarion 2612 | Earlier releases do not contain the Applications feature. The server version is shown on the login page. |
| Applications enabled | The global configuration property polarionapp.enabled=true must be set in Global Administration. See Enable Applications in Polarion. |
| REST API enabled with token authentication | The properties com.siemens.polarion.rest.enabled=true and com.siemens.polarion.rest.security.restApiToken.enabled=true in polarion.properties. Required for views that call the REST API or server scripts. |
| Administrator access | Uploading an application requires Global Administration. Placing views in forms and navigation requires project administration. |
A project to work in¶
Pick or create a project you can experiment in. The walkthrough uses a project with the identifier test and a work item type Task in its examples; the screenshots in this guide come from the Drive Pilot demo project (work item type Work Package). Adjust the names to your project. You need at least one work item of the type whose form you will extend.
Optional: the SDK source and a reference application¶
The SDK is open for inspection. Its TypeScript source and README are available in the repository polarion-app-sdk-preview, and a complete reference application (tsapp-1) demonstrates all three view types together with server scripts. The examples in this guide are smaller and build on the same conventions.