The documentation says that when there is only one item under uiEntryPoints
the “label” will be ignored and plugin name will be displayed without submenus. https://adobexdplatform.com/plugin-docs/reference/structure/menu-structure.html#single-item-plugins
I found out this is not quite true and examined few manifest.json
files before finally figuring out why it happens. In order for only plugin name to be displayed, the label has to have the same string value as the plugin name. In all other cases it will display a submenu.
Example:
{
"id": "123456",
"name": "Toki Chat", // Plugin name is "Toki Chat"
"version": "0.0.1",
"host": {
"app": "XD",
"minVersion": "34.0"
},
"uiEntryPoints": [
{
"type": "panel",
"label": "Toki", // "Toki" label value will display submenu, while "Toki Chat" will display only plugin name
"panelId": "chat"
}
]
}