Extension configuration
The plugin-manifest.json file helps you store all the configuration information required for the extension, such as:
Service
This key defines the ZOHO service for which this extension is created. By default, an entry "service": "WRITER" is given in the plugin-manifest file.
Copied"service": "WRITER"
Modules
The extension currently includes only widgets as its modules. However, in the future, buttons, menus, and tabs will also be made available as additional modules.
Widgets:
This key is an array of objects, wherein each object includes details of the widgets created for the extension. An extension can have more than one widget with a set of properties. To know more about widgets, click here.
Any image related to extension needs to be configured inside the below mentioned path.
Copied"widgets": [{
"name": "<Extension name>",
"icon": "/app/img/writer-logo.png",
"logo": "/app/img/writer-logo.png",
"location": "writer.extensions.", // writer.extensions.popup || writer.extensions
"url": "/app/writer-widget.html"
}]
Connectors
Connectors are arrays of objects that facilitate the seamless integration of extensions with third-party services. In these integrations, Zoho Writer typically handles the authorization of the third-party services. As a developer, you simply need to add the necessary functionalities for the integration by following the provided guidelines. Zoho Writer handles the authorization of third-party services listed in the connectors page. For detailed instructions on how to configure connectors, please refer to the 'Configuring Connectors' section.
Copied"connectors": [
{
"connectionLinkName": "wcconnection",
"connectionName": "wcconnection",
"serviceName": "woocommerce",
"userAccess": true,
"isUserDefinedService": false,
"sharedBy": "1234567"
}
]