Interface
The widget manifest
Properties
| Property | Type | Notes |
|---|---|---|
dataActions | DataActionProperty[] | The data actions provided by the widget |
defaultSize | Size & { autoHeight?: boolean; autoWidth?: boolean } | The initial size the widget will be when added into an app. |
dependency | string | string[] | Use this property to load third-party libraries. Pass an absolute URL to a library. See the Using third-party libraries guide for more information. |
exbVersioninherited | string | A widget may only support certain framework versions due to breaking API changes, so this property allows the widget/theme to define the framework version that it supports. This version check is not currently enforced, but will be enforced in the future. |
excludeDataActions | string[] | Exclude those data actions in setting and runtime |
extensions | ExtensionProperties[] | Extensions provided by the widget. |
i18nMessagesinherited | any | You don't need to add this property in your code, this property is added at runtime. |
labelinherited | string | This should be same as the |
layouts | { label: string; name: string; type?: string }[] | Valid only when the |
messageActions | BaseActionProperty[] | The message actions provided by the widget. |
nameinherited | string | The name must be unique and same as folder name. |
notAllowAddinherited | boolean | Whether the widget can be added to the app, default is false. Widgets that will be deprecated can set this property to true. The code is still available, but the widget will not be shown in the widget list. |
properties | WidgetManifestProperties | Widget manifest properties |
publishMessages | MessageType | MessageDescription[] | The message types published by the widget. |
requireLicense | License | The license that the widget requires to work. An icon will be displayed on the widget card if this property is set. |
settingDependency | string | string[] | Dependency for setting component. See WidgetManifest.dependency |
translatedLocales | string[] | The translated locales the widget provides. Each entry should be a string representing the language version as defined in BCP 47. Examples of valid language codes include "en", "en-US", "fr", "fr-FR", "es-ES", etc. By convention, the default locale is listed first. |
urlParameters | { label: string; name: string; tooltip?: string }[] | Declare the URL parameters that the widget supports |
versioninherited | string | The widget/theme version. The format of the version must follow this pattern: MAJOR.MINOR.PATCH, see semver for details. |