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: 15/umbraco-cms/customizing/extending-overview/extension-registry/extension-manifest.md
+21-16Lines changed: 21 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,25 +4,30 @@ description: Learn about the different methods for declaring an Extension Manife
4
4
5
5
# Extension Manifest
6
6
7
-
{% hint style="warning" %}
8
-
This page is a work in progress and may undergo further revisions, updates, or amendments. The information contained herein is subject to change without notice.
9
-
{% endhint %}
7
+
# Extension Manifest
10
8
11
9
The Extension Manifest is the point of entry for any extension. This is the declaration of what you want to register.
12
10
13
-
The content in this section describes all the extension types that the Backoffice supports. Here is a list of the most common types:
11
+
The content in this section describes all the extension types that the Backoffice supports. Find a list of the most common types in the [Extension Types](../extension-types/) article.
12
+
13
+
## Extension Manifest Format
14
+
15
+
An Extension Manifest can be written either as a JavaScript Object or a JSON Object.
The `alias` is a unique identifier for this manifest. It must be globally unique, so make sure to prefix it with something that makes your extension unique.
30
+
The `name` is a representational name of this manifest, this does not need to be unique but such can be beneficial when debugging extensions.
26
31
27
32
## Manifest Data
28
33
@@ -36,13 +41,13 @@ The required fields of any extension manifest are:
36
41
*`alias`- The alias is used to identify the extension. This has to be unique for each extension.
37
42
*`name` - The name of the extension. This is used to identify the extension in the UI.
38
43
39
-
Additionally, many extensions supports the use of the following fields:
44
+
Additionally, many extensions support the use of the following fields:
40
45
41
46
*`weight` - Define a weight, to determine the importance or visual order of this extension.
42
-
*`conditions` - Define one or more conditions which must be permitted for the extension to become available. [Extension Conditions](../extension-conditions/extension-conditions.md).
47
+
*`conditions` - Define one or more conditions that must be permitted for the extension to become available. [Extension Conditions](../extension-conditions/extension-conditions.md).
43
48
*`kind` - Define a kind-alias of which this manifest should be based upon. Kinds acts like a preset for your manifest. [Extension Kinds](../extension-kind/extension-kind.md).
44
49
45
-
Many of the Extension Types requires additional information declared as part of a `meta` field.
50
+
Many of the Extension Types require additional information declared as part of a `meta` field.
Copy file name to clipboardExpand all lines: 15/umbraco-cms/customizing/extending-overview/extension-registry/extension-registry.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This page is a work in progress and may undergo further revisions, updates, or a
6
6
7
7
The extension registry is the center piece of the Backoffice UI. It holds information about most of the Backoffice UI, as most are extensions. This includes the built-in UI. The registry can be manipulated at any time, meaning you can add or remove extensions at runtime.
8
8
9
-
To provide new UI to the backoffice, you must register them via an extension manifest. This has to be initiated via an Umbraco Package JSON file on the server. This will be your starting point, which enables you to register one or more extensions.
9
+
To provide new UI to the backoffice, you must register them via an Extension Manifest. This can be initiated via an Umbraco Package JSON file on the server. This will be your starting point.
10
10
11
11
Declaring a new extension is done by declaring an [extension manifest](extension-manifest.md). This can be done in one of two ways:
Copy file name to clipboardExpand all lines: 15/umbraco-cms/customizing/umbraco-package.md
+10-14Lines changed: 10 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,17 @@
1
1
---
2
-
description: An extension begins with a Package Manifest
2
+
description: An extension begins with a Umbraco Package
3
3
---
4
4
5
5
# Umbraco Package
6
6
7
-
A Package is declared via an Umbraco Package Manifest. This describes the Package and declares one or more UI Extensions. The Package Manifest is a JSON file that is stored in the `App_Plugins/{YourPackageName}` folder. The file is named `umbraco-package.json`.
7
+
A Package is declared via an Umbraco Package JSON file. This describes the Package and declares one or more UI Extensions. The Package declaration is a JSON file that is stored in the `App_Plugins/{YourPackageName}` folder. The file is named `umbraco-package.json`.
8
8
9
-
## Sample Manifest
9
+
## Sample
10
10
11
-
This is a sample manifest. It is always stored in a folder in `App_Plugins/{YourPackageName}`, with the name `umbraco-package.json`. In this example, the package name is `SirTrevor` and is a text box property Data Type.
11
+
Here is a sample package. It should be stored in a folder in `App_Plugins/{YourPackageName}`, with the name `umbraco-package.json`. In this example, the package name is `SirTrevor` and is a text box property Data Type.
12
12
13
13
{% hint style="info" %}
14
-
Before Umbraco 14, the manifest was declared in a `package.manifest` file instead of `umbraco-package.json`. The old format is no longer supported, but you can migrate the contents to the new format.
14
+
Before Umbraco 14, a package was declared in a `package.manifest` file instead of `umbraco-package.json`. The old format is no longer supported, but you can migrate the contents to the new format.
@@ -41,7 +41,7 @@ Before Umbraco 14, the manifest was declared in a `package.manifest` file instea
41
41
42
42
## Root fields
43
43
44
-
The `umbraco-package`accept these fields:
44
+
The `umbraco-package`accepts these fields:
45
45
46
46
```json
47
47
{
@@ -78,13 +78,13 @@ The version of your package, if this is not specified there will be no version-s
78
78
79
79
With this field, you can control the telemetry of this package, this will provide Umbraco with the knowledge of how many installations use this package.
80
80
81
-
Default is `false`.
81
+
The default is `false`.
82
82
83
83
### Allow Public Access
84
84
85
85
This field is used to allow public access to the package. If set to `true`, the package will be available for anonymous usage, for example on the login screen. If set to `false`, the package will only be available to logged-in users.
86
86
87
-
Default is `false`.
87
+
The default is `false`.
88
88
89
89
### Importmap
90
90
@@ -120,13 +120,9 @@ Umbraco supports the current specification of the property as outlined on MDN We
120
120
121
121
### Extensions
122
122
123
-
The `extensions` field is an array of UI Extension objects. Each object describes a single UI Extension.
123
+
The `extensions` field is an array of Extension Manifest objects. Each object describes a single client extension.
124
124
125
-
There are three generic fields that are common to all UI Extensions:
126
-
127
-
*`type` - The type of the UI Extension.
128
-
*`alias` - The alias of the UI Extension. This must be unique.
129
-
*`name` - The name of the UI Extension.
125
+
Read more about these in the [Extension Manifests article](./extending-overview/extension-registry/extension-manifest.md).
0 commit comments