Now you can create new repositories based on this project by clicking on the "Use this template" button at the top of this repository page or by clicking here.
That's it! You now have a local copy of the repository and can start working on it.
To install the project on your Windows computer, download the .zip file from the repository, unzip it and open it in your code editor.
Then, in root run this command:
npm install
Run this command:
npm start
It will open http://localhost:3000 to view it in your browser.
The page will reload when you make changes. You may also see any lint errors in the console.
npm run build
Note: To make sure this works properly don't delete any of the files in root
Builds the app for production to the dist
folder.
It correctly bundles React in production mode and optimizes the build for Zoho.
Note: In the 'dist' folder you will find the .zip file that you can upload to your CRM!
To test the widget in your CRM you have to open your Settings and go to:
Widgets>New Widget
Then you select the external host and paste your localhost server (you can get it from the npm start command)
To install the widget in your app you have to open your Settings and go to:
Widgets>New Widget
If you want to access to the widget from a button, you must select that option and then host your code in Zoho and upload the .zip file you'll find in the 'dist' folder. Then, in the route field complete with '/index.html'
To associate the widget to a button, you should go to Settings>Customization>Modules and Fields
and select the module where you want to install the widget.
In that module, choose Links and buttons
and create a New Button.
Select the option 'LIST VIEW UTILITIES MENU' and Create from the widget we install before.
https://www.zoho.com/es-xl/crm/developer/docs/widgets/install-cli.html#Related_Topics
You cannot use the 'zet pack' command to pack the React project directly. Kindly follow the below step by step guide to achieve this,
For more information and demo video use the below given github link. Github link : github link