Validate and Pack Widget

Execute the following command to validate your custom widget:

$ zet validate

Your custom widget needs to follow the widget specifications. Running the 'zet validate' command will identify violations of the specifications if any.

 

An illustration on validating ZET installation on macOS terminal

 

Any violations in widget specifications need to be rectified before uploading the widget package. Note that only a basic validation of the configurations is performed.

Run the below command to create a zip with all the files and folders required for the running of your custom widget:

$ zet pack

 

An illustration on packing custom widget files on macOS terminal

 

The zip is present in the 'dist' folder of your package directory. You can upload this zip to the custom widget page in ServiceDesk Plus Cloud.