Discussions

Ask a Question
Back to All

Invalid Addon Manifest. Cannot combine type 'app' with event field for menuItem

Hi guys,

As above, documentation states;

menuItems[type] Mandatory
Type is the type of menu item you wish to create. If you wish to support multiple menu items, add several menuItem records to your manifest. Valid values are:

addon: Your menu item will appear in the online Addons menu
app: Your menu item will appear in the app more tab menu

However when type is changed from addon to app an error occurs as per subject line.

Manifest for reference;

{
"name": "Test Addon",
"version": "1.0",
"iconURL": "https://www.servicem8.com\/images\/addon-sdk-sample-icon.png",
"supportURL": "https://support.exampleaddon.com",
"supportEmail": "support@exampleaddon.com",

"menuItems": [{
"name": "Test Menu",
"type": "app",
"iconURL": "https://www.servicem8.com/images/addon-sdk-sample-icon.png",
"event": "app_menu_test"
}]
}

Please confirm whether this is a known issue/incorrect syntax etc.

Many thanks!