Validate and Pack Widget

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

Validate Widget

Run the following command from inside your widget package directory:
 

$ zet validate


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.

Pack Widget   

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 pack


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:
 

$ my-widget-package/
└── dist/
    └── my-widget-package.zip 
  → upload this file

Upload Widget   

Upload 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.