You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 16/umbraco-forms/developer/extending/README.md
+57-1Lines changed: 57 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,65 @@
1
1
# Extending
2
2
3
-
Umbraco Forms functionality can be extended in different ways. In this section we focus on techniques available to a back-end/C# developer.
3
+
Umbraco Forms functionality can be extended in different ways.
4
4
5
5
For front-end extensions, specifically via theming, see the [Themes](../themes.md) section.
6
6
7
+
## Extending the Backoffice
8
+
Umbraco Forms publishes an NPM package called `@umbraco-forms/backoffice` that holds typings and other niceties to build extensions.
9
+
10
+
{% hint style="warning" %}
11
+
Ensure that you install the version of the Backoffice package that is compatible with your Umbraco Forms installation. You can find the appropriate version on the [`@umbraco-forms/backoffice` npm page](https://www.npmjs.com/package/@umbraco-forms/backoffice).
12
+
{% endhint %}
13
+
14
+
You can install this package by running the command:
This will add a package to your devDependencies containing the TypeScript definitions for Umbraco Forms.
21
+
22
+
### TSConfig
23
+
24
+
Make sure to configure your TypeScript compiler so it includes the Global Types from the package. This enables you to utilize the declared Extension Types. If your project uses other Packages that provide their Extension Types, list those as well.
25
+
26
+
In your `tsconfig.json` file, add the array `types` inside `compilerOptions`, with the entry of `@umbraco-forms/backoffice`:
27
+
28
+
```json
29
+
{
30
+
"compilerOptions": {
31
+
...
32
+
"types": [
33
+
...
34
+
"@umbraco-forms/backoffice"
35
+
]
36
+
}
37
+
}
38
+
```
39
+
40
+
### Take extra care when using Vite
41
+
42
+
It is important that this namespace is ignored in your bundler. If you are using Vite, you can add the following to your `vite.config.ts` file:
43
+
44
+
```ts
45
+
import { defineConfig } from"vite";
46
+
47
+
exportdefaultdefineConfig({
48
+
// other config
49
+
// ...
50
+
// add this to your config
51
+
build: {
52
+
rollupOptions: {
53
+
external: [/^@umbraco/],
54
+
},
55
+
}
56
+
});
57
+
```
58
+
59
+
This ensures that the Umbraco Backoffice packages are not bundled with your package.
60
+
61
+
Read more about using Vite with Umbraco in the [Vite Package Setup](https://docs.umbraco.com/umbraco-cms/customizing/development-flow/vite-package-setup) article.
62
+
7
63
## Developing Custom Providers
8
64
9
65
Although the Forms package comes with many fields, workflows and other built-in types, you can still create and develop your own if needed.
Copy file name to clipboardExpand all lines: 16/umbraco-forms/developer/extending/adding-a-fieldtype.md
+29-14Lines changed: 29 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,6 +172,18 @@ With Forms 14+, aspects of the presentation and functionality of the custom fiel
172
172
173
173
To create custom backoffice components for Umbraco 14, it's recommended to use a front-end build setup using Vite, TypeScript, and Lit. For more information, see the [Extension with Vite, TypeScript, and Lit](https://app.gitbook.com/s/G1Byxw7XfiZAj8zDMCTD/tutorials/creating-your-first-extension#extension-with-vite-typescript-and-lit) article.
174
174
175
+
The examples here are using the `@umbraco-forms/backoffice` package to get access to Forms-specific types and contexts. It is recommended to install this package as a development dependency in your project.
176
+
177
+
{% hint style="warning" %}
178
+
Ensure that you install the version of the Backoffice package that is compatible with your Umbraco Forms installation. You can find the appropriate version on the [`@umbraco-forms/backoffice` npm page](https://www.npmjs.com/package/@umbraco-forms/backoffice).
This will add a package to your devDependencies containing the TypeScript definitions for Umbraco Forms.
186
+
175
187
To display a name and description on a custom field, you need to register a JavaScript file as shown in the [Localization](https://app.gitbook.com/s/7MBVdnTbFiAgWuRsHpNS/customizing/extending-overview/extension-types/localization) article.
176
188
177
189
### Field Preview
@@ -240,14 +252,14 @@ And it is registered via a manifest:
Copy file name to clipboardExpand all lines: 17/umbraco-forms/developer/extending/README.md
+57-1Lines changed: 57 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,65 @@
1
1
# Extending
2
2
3
-
Umbraco Forms functionality can be extended in different ways. In this section we focus on techniques available to a back-end/C# developer.
3
+
Umbraco Forms functionality can be extended in different ways.
4
4
5
5
For front-end extensions, specifically via theming, see the [Themes](../themes.md) section.
6
6
7
+
## Extending the Backoffice
8
+
Umbraco Forms publishes an NPM package called `@umbraco-forms/backoffice` that holds typings and other niceties to build extensions.
9
+
10
+
{% hint style="warning" %}
11
+
Ensure that you install the version of the Backoffice package that is compatible with your Umbraco Forms installation. You can find the appropriate version on the [`@umbraco-forms/backoffice` npm page](https://www.npmjs.com/package/@umbraco-forms/backoffice).
12
+
{% endhint %}
13
+
14
+
You can install this package by running the command:
This will add a package to your devDependencies containing the TypeScript definitions for Umbraco Forms.
21
+
22
+
### TSConfig
23
+
24
+
Make sure to configure your TypeScript compiler so it includes the Global Types from the package. This enables you to utilize the declared Extension Types. If your project uses other Packages that provide their Extension Types, list those as well.
25
+
26
+
In your `tsconfig.json` file, add the array `types` inside `compilerOptions`, with the entry of `@umbraco-forms/backoffice`:
27
+
28
+
```json
29
+
{
30
+
"compilerOptions": {
31
+
...
32
+
"types": [
33
+
...
34
+
"@umbraco-forms/backoffice"
35
+
]
36
+
}
37
+
}
38
+
```
39
+
40
+
### Take extra care when using Vite
41
+
42
+
It is important that this namespace is ignored in your bundler. If you are using Vite, you can add the following to your `vite.config.ts` file:
43
+
44
+
```ts
45
+
import { defineConfig } from"vite";
46
+
47
+
exportdefaultdefineConfig({
48
+
// other config
49
+
// ...
50
+
// add this to your config
51
+
build: {
52
+
rollupOptions: {
53
+
external: [/^@umbraco/],
54
+
},
55
+
}
56
+
});
57
+
```
58
+
59
+
This ensures that the Umbraco Backoffice packages are not bundled with your package.
60
+
61
+
Read more about using Vite with Umbraco in the [Vite Package Setup](https://docs.umbraco.com/umbraco-cms/customizing/development-flow/vite-package-setup) article.
62
+
7
63
## Developing Custom Providers
8
64
9
65
Although the Forms package comes with many fields, workflows and other built-in types, you can still create and develop your own if needed.
Copy file name to clipboardExpand all lines: 17/umbraco-forms/developer/extending/adding-a-fieldtype.md
+33-22Lines changed: 33 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,6 +172,18 @@ With Forms 14+, aspects of the presentation and functionality of the custom fiel
172
172
173
173
To create custom backoffice components for Umbraco 14, it's recommended to use a front-end build setup using Vite, TypeScript, and Lit. For more information, see the [Extension with Vite, TypeScript, and Lit](https://app.gitbook.com/s/G1Byxw7XfiZAj8zDMCTD/tutorials/creating-your-first-extension#extension-with-vite-typescript-and-lit) article.
174
174
175
+
The examples here are using the `@umbraco-forms/backoffice` package to get access to Forms-specific types and contexts. It is recommended to install this package as a development dependency in your project.
176
+
177
+
{% hint style="warning" %}
178
+
Ensure that you install the version of the Backoffice package that is compatible with your Umbraco Forms installation. You can find the appropriate version on the [`@umbraco-forms/backoffice` npm page](https://www.npmjs.com/package/@umbraco-forms/backoffice).
This will add a package to your devDependencies containing the TypeScript definitions for Umbraco Forms.
186
+
175
187
To display a name and description on a custom field, you need to register a JavaScript file as shown in the [Localization](https://app.gitbook.com/s/7MBVdnTbFiAgWuRsHpNS/customizing/extending-overview/extension-types/localization) article.
176
188
177
189
### Field Preview
@@ -181,29 +193,24 @@ The alias of the preview to use is defined on the field type via the `PreviewVie
181
193
A preview for our slider, representing the selected setting values could look as follows:
Copy file name to clipboardExpand all lines: 17/umbraco-forms/release-notes.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,14 @@ If you are upgrading to a new major version, you can find information about the
16
16
17
17
This section contains the release notes for Umbraco Forms 17 including all changes for this version.
18
18
19
+
### 17.0.0-rc2 (November 13th 2025)
20
+
21
+
* Update dependencies to 17.0.0-rc2
22
+
23
+
### 17.0.0-rc1 (October 30th 2025)
24
+
25
+
* Update dependencies to 17.0.0-rc1
26
+
19
27
## Legacy release notes
20
28
21
29
You can find the release notes for versions out of support in the [Legacy documentation on GitHub](https://github.com/umbraco/UmbracoDocs/blob/umbraco-eol-versions/12/umbraco-forms/release-notes.md) and [Umbraco Forms Package page](https://our.umbraco.com/packages/developer-tools/umbraco-forms/).
0 commit comments