Migrating AngularJS Extensions to Umbraco 14+: A Practical Developer's Guide
Umbraco 14 introduced one of the biggest architectural changes in the history of the CMS: a completely redesigned backoffice built around Web Components, Lit and TypeScript.
While this modernization provides developers with a more flexible and extensible platform, it also introduced a significant challenge for organizations upgrading from earlier Umbraco versions.
Custom backoffice extensions built using AngularJS no longer work with the new architecture.
Dashboards, property editors, custom sections, login extensions and other backoffice customizations must be reviewed and either rewritten, replaced or retired.
For organizations with heavily customized Umbraco implementations, this can become one of the most important workstreams in an upgrade project.
The challenge is not simply converting existing JavaScript code into TypeScript. Developers must understand the new extension architecture, select the appropriate extension types, establish a modern development workflow and, most importantly, preserve existing content data.
In this guide, we explore the key differences between the old and new Umbraco backoffice, how to approach extension migration, and the engineering considerations that can help make the process more predictable.
Key Takeaways
- Umbraco 14 introduced a new backoffice architecture: AngularJS was replaced by Web Components, Lit and TypeScript.
- Existing extensions require a rewrite: There is no direct compatibility layer for legacy AngularJS extensions.
- Choose the right extension type: Dashboards, property editors, sections and login extensions each have dedicated extension points.
- Protect existing data: Property editor migrations must preserve stored values, particularly when encrypted data is involved.
- Use modern development tooling: The official extension template, Vite and TypeScript provide a foundation for building new extensions.
- Inventory before estimating: Some extensions can be retired or replaced, while others require significant redevelopment and testing.
Understanding What Changed in Umbraco 14
The most significant change introduced in Umbraco 14 was the complete redesign of the backoffice.
Earlier versions relied on AngularJS for dashboards, property editors, custom views and other backoffice functionality.
Umbraco 14 moved to a modern architecture built around:
- Web Components.
- Lit.
- TypeScript.
- The Umbraco UI Library.
- A dedicated Extension API.
- The Management API for communication with server-side functionality.
This was not simply a frontend technology upgrade. It changed how developers build, register and communicate with backoffice extensions.
The differences between the old and new architectures
Umbraco 13 and earlier | Umbraco 14 and later |
|---|---|
AngularJS controllers and HTML views | Lit-based Web Components and TypeScript |
package.manifest | umbraco-package.json |
UmbracoAuthorizedApiController | Management API controllers |
AngularJS $http calls | Management API clients or authenticated requests |
Global DOM and jQuery manipulation | Supported extension points and components |
Legacy property editor implementation | Separate property editor UI and schema |

The important implication is that existing extensions cannot simply be copied into a newer Umbraco installation.
Their functionality must be redesigned around the new extension architecture.
Understanding the Structure of a Modern Umbraco Extension
Before migrating existing extensions, developers should understand how extensions are organized in the modern backoffice.
A typical extension is packaged under an App_Plugins directory and includes a manifest and compiled JavaScript assets.
For example:
wwwroot/
App_Plugins/
RecordManagement/
umbraco-package.json
records-dashboard.js
The manifest describes the extension and tells Umbraco how to register it.
A simplified dashboard manifest might look like this:
{
"name": "Record Management",
"version": "1.0.0",
"extensions": [
{
"type": "dashboard",
"alias": "MyCompany.Dashboard.Records",
"name": "Record Management",
"element": "/App_Plugins/RecordManagement/records-dashboard.js",
"meta": {
"label": "Records",
"pathname": "records"
},
"conditions": [
{
"alias": "Umb.Condition.SectionAlias",
"match": "Umb.Section.Content"
}
]
}
]
} The extension is then implemented using Lit and the appropriate Umbraco backoffice components.
For example, a simplified dashboard element could look like this:
import { html, customElement } from
'@umbraco-cms/backoffice/external/lit';
import { UmbLitElement } from
'@umbraco-cms/backoffice/lit-element';
@customElement('records-dashboard')
export class RecordsDashboard extends UmbLitElement {
render() {
return html`
<uui-box headline="Records">
<p>Content here</p>
</uui-box>
`;
}
}
export default RecordsDashboard;
These examples are illustrative. Imports, registration details and manifest structures should be checked against the Umbraco version targeted by the project.
The key difference is that extensions are now built using the modern backoffice extension model rather than AngularJS controllers and views.
Choose the Correct Extension Type Before Rewriting
One of the most important migration decisions is identifying the appropriate replacement for each existing extension.
Developers should not attempt to reproduce the old implementation using the same structure and logic.
Instead, they should identify what the extension actually does and select the appropriate extension point in the new architecture.
Here are some common migration scenarios.
Existing functionality | Modern Umbraco extension |
|---|---|
Custom dashboard | Dashboard |
Custom property editor | propertyEditorUi and propertyEditorSchema |
Pre-value or configuration editor | Settings within the schema or UI |
Custom section | Section |
Custom tree and tree items | Tree and treeItem |
Editing screen | Workspace and workspaceView |
Rich-text toolbar button | Tiptap toolbar extension |
Global JavaScript | backofficeEntryPoint or appEntryPoint |
Two-factor authentication UI | mfaLoginProvider |
External login button | authProvider |
A few of these changes deserve particular attention.
Custom property editors
In the new architecture, property editors separate the frontend interface from the underlying data contract.
The propertyEditorUi handles the editor interface, while propertyEditorSchema defines the data contract.
The server-side DataEditor remains in C#.
This separation is particularly important when migrating existing property editors because the frontend can be rewritten without unnecessarily changing how data is stored and processed.
Custom sections and workspaces
Large AngularJS dashboards that contain several screens and complex CRUD functionality may be better suited to a custom section with a tree and workspaces.
However, the decision should be based on how users interact with the existing functionality.
A dashboard with a simple status display does not need the same architecture as a large record-management interface.
Rich-text editor extensions
Umbraco moved from TinyMCE to Tiptap in version 16.
Older rich-text toolbar customizations therefore need to be reviewed against the Tiptap extension architecture when targeting newer Umbraco versions.
The important principle is to choose the modern extension type based on the intended user experience rather than attempting to reproduce the old implementation directly.
Establish the Right Development Tooling
Rewriting extensions is also an opportunity to modernize the development workflow.
The recommended approach in the source implementation is to use the official Umbraco extension template with Vite and TypeScript.
The project can be created using:
dotnet new umbraco-extension
The exact template options should be checked against the installed Umbraco.Templates package and the targeted CMS version.
Keep extension development separate
The frontend extension should have its own development structure, separate from the main .NET projects.
This makes it easier to manage TypeScript dependencies, build configurations and frontend assets.
Use Vite for development and builds
Vite provides a modern development and build workflow.
During development, it can run in watch mode against a running Umbraco installation, allowing developers to make changes and test the extension efficiently.
The compiled output is placed under the appropriate App_Plugins directory.
Because the browser loads the compiled assets, the production server does not need to run the frontend build process.
Create an internal reference implementation
Once the first modern extension is working, retain it as an internal reference implementation.
Use it to establish:
- Folder structure.
- Manifest conventions.
- TypeScript configuration.
- Vite build settings.
- Packaging standards.
- Testing practices.
This avoids rebuilding the development workflow for every subsequent extension.
Replacing AngularJS Server Communication
Older Umbraco extensions often used AngularJS $http calls to communicate with custom controllers.
For example, an extension might call an UmbracoAuthorizedApiController and receive JSON data.
The modern architecture uses the Management API and its associated authentication and authorization mechanisms.
There are two approaches worth considering.
Use the Management API client
Where possible, use the appropriate Management API client.
The API's OpenAPI document can be used to generate a typed client, providing a more structured approach to communicating with server-side functionality.
In Umbraco 17, direct fetch requests to the Management API from extension code also need to include the appropriate credentials:
fetch('/umbraco/management/api/endpoint', {
credentials: 'include'
}); The actual endpoint should be taken from the relevant API definition.
Build custom Management API endpoints
When existing functionality depends on custom server-side logic, create an appropriate Management API controller.
The source implementation recommends using:
- ManagementApiControllerBase.
- VersionedApiBackOfficeRoute.
- AuthorizationPolicies.BackOfficeAccess.
- A dedicated OpenAPI document.
This provides a more structured and secure way to expose custom functionality to the backoffice.
Return plain DTOs, keep routes versioned and treat custom endpoints as APIs that require their own tests.
The objective is to move away from tightly coupled AngularJS controller communication toward a clearer separation between the frontend extension and server-side application logic.
Preserve Existing Property Editor Data
This is arguably the most important part of an extension migration.
A property editor is not just a user interface. It also defines how information is stored and retrieved from the CMS.
When rewriting a custom property editor, changing its stored value format can break existing content.
For this reason, the stored value should be treated as a contract that must remain compatible.
Keep the existing property editor alias
Where possible:
- Retain the existing property editor alias.
- Preserve the stored value format.
- Keep the server-side data editor implementation compatible.
- Reconfigure existing data types to use the new propertyEditorUi.
From Umbraco 14, data types store a separate property editor UI alias. Existing data types that used a custom editor therefore need to be pointed to the appropriate new UI.
Pay particular attention to encrypted property editors
Encrypted property editors introduce an additional risk.
The existing database may contain encrypted values that are only readable through the original server-side encryption and decryption implementation.
If this implementation is changed incorrectly, editors may see unreadable data, or previously stored values may no longer decrypt correctly.
The safer approach is to preserve the existing server-side DataEditor and value editor responsible for encryption and decryption.
Rewrite only the frontend interface unless there is a separate, carefully planned reason to change the data-handling implementation.
Test against existing database data
Do not validate encrypted property editor migration using only newly created content.
Restore a copy of an existing database and verify that:
- Previously stored encrypted values load successfully.
- The editor displays the correct decrypted information.
- Saving the value preserves the expected data format.
- The value can be retrieved and decrypted again.
The objective is to ensure that the migration changes the editing experience without compromising the data already stored in the CMS.
Testing and Packaging the New Extensions
A successful migration requires more than confirming that an extension appears in the backoffice.
Every extension should be tested according to its actual functionality and business importance.
Unit testing
Lit-based extension elements can be tested using a web test runner.
These tests should cover important UI behaviour, interactions and data handling.
End-to-end testing
Each extension should have at least one end-to-end test covering its primary workflow.
Playwright can be used to automate these scenarios.
For example, a custom dashboard might require testing that an editor can open the dashboard, retrieve the required records and complete the intended action.
Test on an upgraded staging environment
Testing should also take place on a restored or upgraded staging copy of the existing Umbraco installation.
This is particularly important for extensions that interact with existing data types, encrypted values, user permissions and custom server endpoints.
Choose a packaging approach
There are two common approaches to distributing the compiled extension assets:
- Commit the built files under App_Plugins as part of the main project.
- Package the extension using a Razor Class Library or NuGet package that exposes static web assets.
Either approach can work, but the team should select one consistently and document the packaging and deployment process.
Inventory Your Existing Extensions Before Estimating
One of the biggest mistakes in an Umbraco upgrade project is estimating extension migration effort without first understanding what the existing installation actually contains.
Some extensions may be straightforward to replace, while others may involve several screens, custom endpoints or sensitive data.
Create a complete inventory before preparing the migration plan.
Typical extension migration scenarios
Existing extension | Recommended approach | Relative effort |
|---|---|---|
Simple read-only dashboard | Rebuild as a dashboard extension | Small |
Large AngularJS CRUD dashboard | Consider dashboards or a custom section with workspaces | Medium |
Global JavaScript injection | Replace with a supported extension point | Small |
Two-factor authentication UI | Retain server-side provider and rewrite its UI | Small to Medium |
Login screen CSS customization | Use supported login customization settings | Small |
Extension replaced by built-in functionality | Retire it | Small |
Encrypted custom property editor | Rewrite UI while preserving server-side data handling | Large |
Notification or workflow dashboard | Rebuild as a dashboard extension | Small to Medium |
Forms export dashboard | Dashboard or workspace action, with entry point if required | Small to Medium |
These are relative estimates, not fixed development timelines.
The effort depends on the number of screens, complexity of the implementation, server-side dependencies and data compatibility risks.
Prioritize the critical extensions
Not all extensions should receive the same migration priority.
Start with:
Encrypted property editors
These carry a significant data compatibility risk. Any mistake could affect information already stored in the database.
Large dashboards used by editors every day
These are operationally important and should be migrated early enough to allow proper testing and user validation.
Extensions with custom server-side endpoints
These may require additional API development, authorization changes and integration testing.
Retire unnecessary extensions
Before rewriting an extension, establish whether it is still needed.
Some old extensions may have been replaced by built-in Umbraco functionality or other packages.
For example, the source implementation recommends using supported login customization settings instead of maintaining injected CSS for the login screen.
There is little value in spending development time rebuilding functionality that is no longer required.
Common Mistakes During AngularJS Extension Migration
A few recurring mistakes can make extension migration more complicated and risky.
Translating AngularJS code line by line
The new backoffice has a different architecture. Developers should redesign the extension around the appropriate modern extension type rather than reproducing the old AngularJS structure.
Changing property editor data formats
Changing stored values can break existing content. Preserve the existing data contract unless a separate data migration has been planned and tested.
Manipulating the global DOM
The modern backoffice uses Shadow DOM. Global DOM and jQuery injection patterns are not a reliable way to extend it.
Use supported extension points instead.
Forgetting authentication on custom endpoints
Custom Management API endpoints must use appropriate backoffice authorization. Authentication should be part of the implementation, not an afterthought.
Rewriting working server-side authentication logic unnecessarily
For example, when migrating a two-factor authentication provider, the existing server-side ITwoFactorProvider implementation may remain valid. The UI can be rewritten as an mfaLoginProvider extension without rebuilding the entire authentication workflow.
Rewriting everything before validating the toolchain
Start with one pilot extension, establish the build and packaging process, and then apply the proven approach to the remaining extensions.
A More Predictable Approach to Umbraco Extension Migration
A successful migration is easier to manage when it is treated as a structured engineering project rather than a collection of independent coding tasks.
A practical approach includes the following stages:
Stage 1: Discovery and inventory
Identify all custom dashboards, property editors, sections, trees, authentication extensions and third-party packages.
Document what each extension does and whether it is still required.
Stage 2: Classification and prioritization
Classify extensions according to their complexity, business importance and data compatibility risk.
Identify extensions that can be retired or replaced.
Stage 3: Technical foundation
Set up the modern development toolchain using the official extension template, TypeScript and Vite.
Establish a reference implementation for subsequent development.
Stage 4: Pilot migration
Choose a relatively straightforward dashboard and migrate it first.
Use the pilot to validate the manifest, build process, Management API communication, testing and packaging.
Stage 5: Critical extension migration
Move on to encrypted property editors, complex dashboards and extensions that are essential to daily editorial operations.
Stage 6: Testing and deployment
Test the new extensions on an upgraded staging environment.
Validate existing content, permissions, authentication, API communication and critical editor workflows before production deployment.
This approach provides a more controlled migration process and reduces the risk of discovering major architectural or data compatibility problems late in the upgrade project.
Frequently Asked Questions
Conclusion
The transition from AngularJS to the modern Umbraco backoffice represents a significant change for organizations with customized CMS implementations.
While the new architecture provides a more modern and flexible foundation, migrating existing extensions requires careful planning, technical understanding and thorough testing.
The most important consideration is to approach the migration as a rewrite rather than a direct port.
Start by inventorying existing extensions, identify the functionality that genuinely needs to be retained, establish a modern development workflow and prioritize extensions with critical data or operational dependencies.
Above all, protect the content and data already stored in the CMS.
At Technyx, we believe successful CMS upgrades are about more than moving to a newer version. They require preserving what already works while rebuilding the technical foundations needed for the next stage of the platform.
For organizations planning an Umbraco upgrade, a structured extension migration strategy can make the difference between a disruptive redevelopment project and a controlled transition to a modern, maintainable backoffice.






