At Zoho Desk, we believe in continuously improving our product and its capabilities for all users, be it customers or developers. With that philosophy in mind, we have upgraded the Zoho Extension Toolkit (ZET) CLI, using which developers can create extensions for Zoho tools.
This improvement is a breaking change, which means you will not be able to test extensions created using the older version. Therefore, you must first migrate such extensions to be compatible with the new CLI.
To perform this migration, follow these steps:
- First, update the ZET CLI to version 0.23.0 or above.
- Create a new project in the updated CLI.
- Move the app and src folders and the plugin-manifest.json and resources.json files from the old extensions to the new project.
Then, to check if your extension works fine after the migration, perform the following steps:
- Open Terminal/Command Prompt and navigate to your project folder.
- Execute the zet run command.
- Perform the next step, based on which browser you use for development.
- If you use Mozilla Firefox, open the plugin-manifest.json file in a new tab and click Advanced ---> Accept the Risk and Continue.
- If you use Google Chrome, open the plugin-manifest.json file in a new tab and click Advanced ---> Proceed to Unsafe. If the Proceed to Unsafe option does not appear, enable the chrome://flags/#allow-insecure-localhost Chrome flag and restart the browser.
- Then, log into your Zoho Desk account. If you do not have an account, sign up here.
- After logging into Zoho Desk, open your browser's developer tools. In the developer console, invoke the runDevMode() JavaScript code. This action refreshes the page and activates the development mode.