See the sections below to learn more about each key/value field. All fields are required unless otherwise noted below.

Top-level metadata

The top level of the manifestJSON object contains high-level information about your plugin.

Here are the definitions of the keywords in the "Required" column:

Develop - required field for XD to run the plugin. If excluded, XD won't load the plugin

Publish - required field for plugins to be submitted in the I/O Console and published in the Plugin Manager

Optional - optional field for all plugins

Key path

Type

Description

Required

id

string

Unique identifier for your plugin. You can get your unique ID on the Adobe I/O Console.

Develop / Publish

name

string

Human-readable name of your plugin displayed in the Plugin Manager listing. Must be globally unique among all published plugins. Name availability can be checked on your plugin details page on the I/O Console. The name should be 3 - 45 characters. Note: Your plugin name is independent of the project name you created when getting your plugin ID from the I/O Console. The I/O Console project name is for your reference only, and is managed directly on the I/O Console.

Develop / Publish

version

string

Version number of your plugin in x.y.z format. Version must be three segments and each version component must be between 0 and 99.

Develop / Publish

description

string

Detailed description displayed in the Plugin Manager listing when "See details" is clicked. The detailed description should be 3 - 1000 characters.

Publish

summary

string

Short summary displayed in the Plugin Manager listing. Short summary should be 3 - 30 characters.

Publish

releaseNotes

string

Description of changes displayed to the user when "See details" is clicked in the Plugin Manager listing. Release notes help both your users and the CC Integrations Review team know what's new or fixed in your plugin. Release notes should be 3 - 1000 characters.

Optional

keywords

array<string>

Keywords for your plugin. Each keyword should be at least 2 characters with a max concatenated keywords length of 100 characters, excluding commas.

Optional

languages

array<string>

Language(s) supported by your plugin. The language must be a two-letter code from ISO 639-1. Currently, only the following codes are allowed: en (English), de (German), fr (French), ja (Japanese), ko (Korean), zh (Chinense), es (Spanish), pt (Brazilian Portuguese). This field will be displayed in the Plugin Manager to users when "See details" is clicked.

Publish

website

string

Web address for information about your plugin. This field will be displayed in the Plugin Manager to users when "See details" is clicked. The URL should follow the standard URL format and not exceed 1000 characters.

Optional

author

string

Plugin author's name. This field will be displayed in the Plugin Manager to users. Name should be 3 - 40 characters.

Publish

helpUrl

string

Web URL for your plugin's support/help page. This field will become visible in the Plugin Manager to users when "See details" is clicked. The support page you link to must include information on how to get support. The URL should follow the standard URL format and not exceed 1000 characters. Note: For GitHub repositories, you should link to a README.md file or other Markdown file that describes how to file an issue, or link directly to an issue submission form. Do not link directly to your repo's list of issues.

Publish

icons

array<object>

Icons displayed in the Plugin Manager listing. PNG, JPG/JPEG formats are supported and the max file size for each icon is 1MB. All five sizes are required - [24, 48, 96, 144, 192].

Publish

host.app

string

Indicates that this is a plugin for Adobe XD (currently, the only valid value here is "XD").

Develop / Publish

host.minVersion

string

Minimum required version of the host app (in x.y format) that can run this plugin. Note: Must be two segments. Typically, you'll leave the minor segment set to 0, e.g. 16.0.

Develop / Publish

host.maxVersion

string

Maximum version of host app that can run this plugin. Same formatting as host.minVersion.

Optional

uiEntryPoints

array<MenuItemDefinition | SubmenuDefinition>

Describes the entries your plugin adds to the Plugins menu in XD. See the next section for details.

Develop / Publish

UI entry points array

The uiEntryPoints field is an array of objects, and each object must match one of the two formats below. Items appear in the Plugins menu in the same order as they're listed in the uiEntryPoints array.

It is strongly encouraged to only add one item to uiEntryPoints – either one top-level MenuItemDefinition, or one SubmenuDefinition containing multiple submenu items. In either case, this menu
item should closely match the name of your plugin so it is easy to locate after installing (bear in mind the user may have a bunch of other plugins' entries in this menu already).

MenuItemDefinition (executable menu items)

Key

Type

Description

type

string

Entry point type. Currently "menu" is the only supported value.

label

string or Object

Label for this menu item that the user will select to run your plugin. May be a single string or an object containing localized strings (see "Menu Localization" below).

commandId

string

Identifier that links the menu item to a function in your plugin's JavaScript code. This identifier needs to be unique within your plugin. It can be whatever you like, but it makes sense to succinctly describe what the command will do.

SubmenuDefinition (submenu)

Label for this submenu. May be a single string or an object containing localized strings (see "Menu Localization" below).

menuItems

Array<MenuItemDefinition>

Nested array specifying the menu items this submenu contains. Only a single submenu nesting level is supported, so this array may not contain any SubmenuDefinitions itself, only executable MenuItemDefinitions.

Keyboard shortcuts

Keyboard shortcuts are defined separately for each platform (as seen in the example at the top of this tutorial). Each definition is a string that follows this syntax:

One or more modifier keys, in any order, each one followed by "+"

Mac: modifiers may be Cmd, Ctrl, Opt / Alt, or Shift. Shortcut must contain at least one of Cmd or Ctrl.

Win: modifiers may be Ctrl, Alt, or Shift. Shortcut must contain Ctrl.

A letter or number key.

Letters are case-insensitive (e.g. "Cmd+P" and "Cmd+p" mean the same thing and neither requires pressing Shift).

Other keys (including punctuation, arrow keys, or F1-F12) are currently not supported.

If your shortcut collides with a built-in XD command or another plugin's shortcut, your shortcut will be ignored and you'll see a warning printed to the developer console.

Menu Localization

Plugin menu item labels can be localized to match the rest of XD's UI. Other fields such as name and descriptioncannot be localized yet.

Localized labels are represented as an object containing multiple translations, instead of a single string value:

A default string is always required. The language must be a two-letter code from ISO 639-1, not a hyphenated code such as en-US. To avoid inconsistency with the rest of XD's built-in menu items, languages that aren't supported by XD are ignored.

You can also localize strings that appear in your plugin's own dialog UI, by choosing which strings to use in your UI based on the value of application.appLanguage.