Use the ZET CLI to validate the custom widget package for specification violations and package it as a ZIP file before uploading it to ServiceDesk Plus Cloud.
Quick Links
Run the following command from inside your widget package directory:
ZET validates the package against the Custom Widget Specifications and reports any violations. Resolve all reported violations before uploading the package.
The zet validate command performs a basic validation of the widget configuration. It does not run the widget code or validate its runtime behavior.
ZET packages the required files and folders into a ZIP file and saves it in the dist/ folder of the package directory.
The packaged ZIP file is saved in the following location:
ZET packages the required files and folders into a ZIP file and saves it in the dist/ folder of the package directory.
The packaged ZIP file is saved in the following location:
→ upload this fileUpload the ZIP file from the dist/ folder when adding a custom widget or updating an existing custom widget in ServiceDesk Plus Cloud.
During development, you can use Developer Mode to view changes made to files in the app/ folder without repeatedly packing and uploading the widget. After completing the development, run zet pack to create the final ZIP file.