Dojo to Angular: Plugins Portlet
Rebuild the Dynamic Plugins portlet from Dojo to Angular with PrimeNG. Manage OSGi bundles: upload JARs, deploy/undeploy, start/stop, view exported packages, restart framework. State-aware UI with confirmation dialogs for destructive actions.
current branch: issue-34732-plugins-portlet
PRs linked to this issue
PRs linked to this issue
What Changed — For PMs & Documentation Team
This comment summarizes the user-facing behavior changes introduced by the Angular migration (PR #34957).
What the Plugins Portlet Does
The Plugins portlet lets administrators manage OSGi bundles — the building blocks for extending dotCMS functionality. From this portlet you can install new plugins, activate or deactivate existing ones, remove them, and control the OSGi framework itself.
Key Changes From the Legacy Portlet
❌ "Show System Bundles" Is Gone
The legacy portlet had a Show System Bundles toggle that let users display low-level framework bundles alongside their own plugins. This option no longer exists in the new portlet. Only user-installed plugins are shown. System-level bundles are not surfaced to administrators.
Documentation note: Remove any reference to "Show System Bundles" or filtering by bundle type from help articles.
✅ One Unified Table for All Plugins
Previously, the portlet had separate views or sections for different bundle states. In the new portlet, all installed plugins and pending (undeployed) JARs appear in a single table. Each row shows the plugin name, its current state, and available actions — no need to navigate between tabs or sections.
Possible states a plugin can be in:
| State | Meaning |
|---|---|
| Active | The plugin is installed and running |
| Installed | The plugin is installed but not yet started |
| Resolved | The plugin is loaded but not started (dependencies met) |
| Undeployed | A JAR file is present but not yet installed into the framework |
✅ All Actions in One Place (Context Menu)
In the legacy portlet, actions like Start, Stop, Deploy, and Undeploy were scattered across different areas. In the new portlet, every action is available in a context menu on each row. The available actions adapt to the current state of the plugin:
| Action | When available | What it does |
|---|---|---|
| Start | Plugin is installed but stopped | Activates the plugin so it runs |
| Stop | Plugin is active/running | Pauses the plugin without removing it |
| Deploy | JAR is present but undeployed | Installs the JAR into the OSGi framework |
| Undeploy | Plugin is installed | Removes the plugin from the framework (keeps the file) |
| Process Exports | Any active plugin | Re-processes the plugin's exported Java packages |
| Add to Bundle | Any plugin | Adds the plugin to a push-publish bundle |
Documentation note: The old workflow of going to separate sections to start/stop vs. deploy/undeploy no longer applies. Everything is in one table, one context menu.
✅ Drag-and-Drop JAR Upload
Users can now install a new plugin by dragging a JAR file directly onto the portlet or by clicking the upload button in the toolbar. Multiple JARs can be uploaded at once. After upload, the system processes the file in the background (~10–30 seconds) and the table updates automatically when the plugin is ready.
Documentation note: Emphasize that after upload, the table refreshes automatically — users do not need to manually reload the page.
✅ Real-Time Table Updates
The portlet listens for server-side events. When a plugin finishes loading, or when the OSGi framework restarts, the table refreshes automatically without any user action. This replaces the legacy behavior where users had to manually refresh to see changes.
✅ Confirmation Dialogs for Destructive Actions
Actions that can affect a running system — such as Undeploy and Restart Framework — now show a confirmation dialog before proceeding. This matches the behavior of other modern dotCMS portlets and prevents accidental disruptions.
✅ Extra Packages (Advanced)
The Extra Packages option is still available from the toolbar. It opens a dialog where administrators can view and edit the list of Java packages exported by the OSGi framework — an advanced setting typically only used when adding plugins that depend on specific Java libraries.
✅ Restart OSGi Framework
The Restart Framework button is still available in the toolbar. It now shows a confirmation dialog first and displays a visual "restarting" indicator while the framework comes back up (typically 5–15 seconds).
Legacy Portlet
The old Dojo-based portlet has been removed from the sidebar navigation. It is not deleted — it can be manually re-added to a layout by an administrator if needed for any reason. This is intended as a short-term fallback only.
Related PR: #34957 | Related backend issue: #34975
New full starter: https://repo.dotcms.com/artifactory/libs-release-local/com/dotcms/starter/20260331/starter-20260331.zip New empty starter: https://repo.dotcms.com/artifactory/libs-release-local/com/dotcms/starter/empty_20260331/starter-empty_20260331.zip commit to update internal servers: https://github.com/dotCMS/internal-websites/commit/978303f7a773d2352e73a76459d6bc4029abe8d7 commit to update demo: https://github.com/dotCMS/demo.dotcms.com/commit/23fa14d8c3cf0b2a38398bce0e5d0859b400a618 PR for docker-compose-examples: https://github.com/dotCMS/core/pull/35169
QA Verified