Iterate: change, rebuild, re-upload¶
Once the first version is installed, every further change follows the same short loop.
The loop¶
- Edit the source.
npm run package(build + ZIP).- Global Administration → Applications → Upload the new ZIP.
- Reload the Polarion page that shows the view (hard reload:
Ctrl+Shift+RorCmd+Shift+R).
Configuration XML does not have to be touched again unless you rename the application identifier or add a new view.
Updating an installed application¶
Uploading a ZIP whose identifier matches an installed application updates it in place. The confirmation step of the upload dialog changes accordingly: it reads You are going to UPDATE the following application and shows two columns, New Version and Current Version, with the manifest data of both.
Bump applicationVersion with every upload. The update dialog shows it next to the installed version, administrators see it in Properties, and it is the only reliable way to tell two builds apart.
Browser caching: Vite gives every build output a content hash in its file name, so a new build never collides with cached assets. The entry index.html itself is small and is reloaded with the page.
Checking what is installed¶
Select a tile on the Applications page and click Properties. The dialog shows the identifier, version, title, publisher, manifest version and description taken from the installed manifest.
The static files are also reachable directly, which is useful for a quick check that a build made it to the server:
https://<polarion-host>/polarion/apps/<identifier>/<rootDirectory>/index.html
Opening a view this way shows your page without the Polarion host around it. fetchContext() cannot succeed there; a well-written view reports that instead of hanging (see the error state in Your first application).
Removing an application¶
Select the tile and click Delete. Polarion removes the application and its files immediately and confirms with Application <identifier> was deleted; treat the button as final. Configuration XML that still references a view of the deleted application is not changed; the corresponding panel simply disappears from forms and the entry vanishes from the Show Sidebar menu. Remove the applicationView elements by hand to keep the configuration clean.
Several developers, one server¶
Application identifiers are global on a server. Two people uploading com.example.hello overwrite each other. During development, give every developer or feature branch its own identifier (for example com.example.hello.jdoe) and switch to the final identifier when the application is ready. Remember that the identifier is part of the configuration id, so the applicationView elements must follow.
Local development without uploading¶
Rebuilding and uploading for every CSS tweak is slow. For UI work, run npm run dev and open the Vite dev server in a browser; fetchContext() fails there, so give your code a mock context in development mode. The pattern is described in Develop locally.

