The following JSON code is an example of a plug-in manifest file that demonstrates how to specify some of the vSphere Client SDK extension points for your plug-in.
{ "manifestVersion": "1.0.0", "requirements": { "plugin.api.version": "1.0.0" }, "configuration": { "nameKey": "My Plugin" }, "global": { "view": { "navigationId": "myGlobalViewId", "uri": "myplugin/globalView.html", "navigationVisible": false } }, "objects": { "Datacenter": { "summary": { "view": { "uri": "myplugin/summary.html", "icon": { "name": "main" } } }, "monitor": { "views": [ { "navigationId": "myview1", "labelKey": "category.view1", "uri": "myplugin/view1.html" } ] }, "configure": { "views": [ { "navigationId": "myview1", "labelKey": "category.view1", "uri": "myplugin/view1.html" } ] }, "menu": { "actions": [ { "labelKey": "action1", "icon": { "name": "action-1" }, "trigger": { "type": "modal", "uri": "myplugin/modal-action.html", "titleKey": "myplugin modal title", "accessibilityTitleKey": "myplugin modal accessibility title", "size": { "height": 250, "width": 600 } } }, { "type": "separator" }, { "labelKey": "Action2", "icon": { "name": "action-2" }, "trigger": { "type": "navigation", "targetViewId": "myGlobalViewId" } } ] } } }, "definitions": { "iconSpriteSheet": { "uri": "myplugin/images/icon-sprite.png", "definitions": { "main": { "x": 0, "y": 0 } } }, "i18n": { "locales": [ "en-US", "de-DE", "fr-FR" ], "definitions": { "category.view1": { "en-US": "Monitor View 2", "de-DE": "Monitoransicht 2", "fr-FR": "Vue Surveiller 2" } } } } }