Update on Using Extensions in Custom Modules

Update on Using Extensions in Custom Modules

Extensions in Zoho Projects now support custom modules. You can add extensions to custom module records and configure where each extension appears and who can access it during installation.
Info
Supported Extensions: Checklist, Google Drive, SharePoint

Configure extensions during installation

You can set up extensions for both default and custom modules and restrict access to specific users or profiles. When you install an extension, the Widgets tab lets you rename each widget, enable or disable its visibility, select the modules it appears in, and associate it with all projects or specific projects. The Permissions tab lets you select the profiles and users who can access each widget. For extensions that use a third-party service, you can also connect and authenticate the service from the Connections tab.

Access extensions in records

Once configured, you can access the extension from two locations:
  1. Right panel: Click the widget icon in the right panel of the details page to open the extension.
  2. Details tab: In custom modules, open the record details page and go to the bottom panel. Click the extension’s name to open it. If there are multiple extensions, click the ellipsis icon (...) to view all of them.

For developers

Notes
Important:
  1. We are replacing the module-specific location keys with two common keys. The existing keys will be removed, so update your extensions to use the new keys.
  2. Existing extensions using the old keys will continue to work for now, but they do not support custom modules.

To display an extension in the right panel within the details page, replace taskdetails_rightpanel, issuedetails_rightpanel and projectdetails_rightpanel with detail_rightpanel in the plugin_manifest.json  file and add the icon attribute.
To display an extension in the details tab, replace task_tab, issue_tab and milestone_tab with detail_tab in the plugin_manifest.json  file. This location supports Tasks, Issues, Phases and custom modules by default.

To show the extension only in specific modules, use this sample code and add the modules to the plugin_manifest.json file:

  1. "widgets": [{
  2. "name": "(extension name)",
  3. "location": "detail_tab",
  4. "url": "index.html",
  5. "modules": [
  6. { "name": "task" },
  7. { "name": "issue" },
  8. { "name": "custom" },
  9. { "name": "milestone" }
  10. ]
  11. }]
Refer to the JS SDK documentation for the latest updates.

For more information or any queries, write to us at support@zohoprojects.com