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
+27-15Lines changed: 27 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,38 @@
1
-
# Extension Manifest
1
+
---
2
+
description:
3
+
---
2
4
3
-
{% hint style="warning" %}
4
-
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.
5
-
{% endhint %}
5
+
# Extension Manifest
6
6
7
7
Each Extension Manifest has to declare its type, this is used to determine where it hooks into the system. It also looks at what data is required to declare within it.
8
8
9
9
The abilities of the extensions rely on the specific extension type. The Type sets the scene for what the extension can do and what it needs to be utilized. Some extension types rely on a reference to other extensions.
10
10
11
-
The pages of this article describe all the extension types that Backoffice supports. Here is a list of the most common types:
11
+
The following overview lists all the available extension types:
A Extension Manifest can be written either as JavaScript Object or a JSON Object.
21
+
22
+
There is a few general properties, the required set of properties consists of the `type`, `alias` and `name`.
23
+
24
+
```typescript
25
+
const manifest = {
26
+
type: '...',
27
+
alias: 'my.customization',
28
+
name: 'My customization'
29
+
...
30
+
};
31
+
```
32
+
33
+
The `type` defined what it is declaring
34
+
The `alias` is a unique identifier for this manifest. It must be globally unique, so make sure to prefix with something that makes your extension unique.
35
+
The `name` is a representational name of this manifest, this does not need to be unique but such can be beneficial when debugging extensions.
24
36
25
37
## Declare Extension Manifest
26
38
@@ -47,7 +59,7 @@ The bundle extension type can be used for declaring multiple Extension Manifests
47
59
48
60
The bundle declares a single JavaScript file that will be loaded at startup. All the Extension Manifests exported from this Module will be registered in the Extension Registry.
49
61
50
-
Read more about the `bundle` extension type in the [Bundle](../../../extending/extending-overview/extension-registry/bundle.md) article.
62
+
Read more about the `bundle` extension type in the [Bundle](../extension-types/bundle.md) article.
51
63
52
64
### Using `backofficeEntryPoint` as your foundation
53
65
@@ -57,4 +69,4 @@ The entry point declares a single JavaScript file that will be loaded and run wh
57
69
58
70
The `entryPbackofficeEntryPointoint` extension is also the way to go if you want to load in external libraries such as jQuery, Angular, React, etc. You can use the `backofficeEntryPoint` to load in the external libraries to be shared by all your extensions. Loading **global CSS files** can also be used in the `backofficeEntryPoint` extension.
59
71
60
-
Read more about the `backofficeEntryPoint` extension type in the [Entry Point](../../../extending/extending-overview/extension-registry/entry-point.md) article.
72
+
Read more about the `backofficeEntryPoint` extension type in the [Entry Point](../extension-types/entry-point.md) article.
Copy file name to clipboardExpand all lines: 15/umbraco-cms/customizing/package-manifest.md
+5-9Lines changed: 5 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
-
description: An extension begins with a Package Manifest
2
+
description: An extension begins with a Umbraco Package Manifest
3
3
---
4
4
5
-
# Package Manifest
5
+
# Umbraco Package Manifest
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 Manifest. This describes the Package and declares one or more UI Extensions. The Manifest is a JSON file that is stored in the `App_Plugins/{YourPackageName}` folder. The file is named `umbraco-package.json`.
8
8
9
9
## Sample Manifest
10
10
@@ -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