Deploying and Managing Zimlets Deploying and Managing Zimlets
Deploying and Managing Zimlets Deploying and Managing Zimlets
Zimbra Confidential. Content subject to change. Nothing herein represents a commitment by Zimbra or VMware
Admin Console
Deploying/undeploying Zimlets using Admin Console
Login to Admin Console > Zimlets > Deploy
Remember to select “Flush Zimlet cache checkbox” if you are upgrading
Best practice: Always uninstall Zimlet before upgrading
2 Zimbra, Zimlets, and the Zimbra logos are registered trademarks of Zimbra – A division of VMware. All other trademarks are property of their respective owners. Copyright © 2010
Command Line
zmzimletctl deploy /path/to/zimlet-name.zip
3 Zimbra, Zimlets, and the Zimbra logos are registered trademarks of Zimbra – A division of VMware. All other trademarks are property of their respective owners. Copyright © 2010
Command Line
zmzimletctl undeploy <zimlet-name>
This undeploys the Zimlet
zmzimletctl listZimlets
Lists all available Zimlets: Host, LDAP and COS
Host: indicates all those Zimlets that are installed (not necessarily
deployed (in ldap)) and basically means, they are physically present in
zimlets-deployed folder.
Notes:
For Zimlet to work, it must be listed on all three areas.
In multimode environment, you will see these three sections for each
node.
You can further control Zimlet availability for individual accounts.
4 Zimbra, Zimlets, and the Zimbra logos are registered trademarks of Zimbra – A division of VMware. All other trademarks are property of their respective owners. Copyright © 2010
Command Line
Example:
5 Zimbra, Zimlets, and the Zimbra logos are registered trademarks of Zimbra – A division of VMware. All other trademarks are property of their respective owners. Copyright © 2010
Command Line
zmzimletctl listPriority
List the priorities of all Zimlets.
zmzimletctl setPrority
Set a Priority to a Zimlet. Priorities can be set to Zimlets to ensure that a
particular Zimlet to be used over another similar zimlet. Like: You might have two
different phone zimlets using two different services. You can use priority to make
sure which one should be used.
6 Zimbra, Zimlets, and the Zimbra logos are registered trademarks of Zimbra – A division of VMware. All other trademarks are property of their respective owners. Copyright © 2010
Command Line
zmprov fc zimlet
Flushes Zimlet cache. Use this whenever you want to make sure to
clear stale zimlet information.
7 Zimbra, Zimlets, and the Zimbra logos are registered trademarks of Zimbra – A division of VMware. All other trademarks are property of their respective owners. Copyright © 2010
Tips & Common Errors
Zimlet is not installing:
Check if the Zimlet is zipped in such a way that all its files are directly
within the zip file and NOT within another folder. i.e. When you zip
the Zimlet, do not right-click on the Zimlet folder and zip the entire
folder from outside, instead open Zimlet’s folder and select all files
and then zip just the files.
Check If you are installing a Zimlet whose version is older than the one
that’s currently installed. If so, uninstall the old one first.
Check if Zimlet’s Zip file name matches Zimlet’s description
file(<zimlet-name>.xml) name (case sensitive).
Also run zmprov fc zimlet command as Zimbra user to clear cache,
just to be sure.
8 Zimbra, Zimlets, and the Zimbra logos are registered trademarks of Zimbra – A division of VMware. All other trademarks are property of their respective owners. Copyright © 2010
Tips & Common Errors
Zimlet is installed but not showing up in the client:
You can use Firefox’s Error console ( Tools > Error Console
> Errors Button) to see JS errors.
Firebug: (covered in detail in later section)
Check for JavaScript error in the Zimlet by Enabling Firebug.
Make sure there is no debugger; statements in any of your JS
files. In production mode, Zimbra shrinks the code and if it hits
debugger; statement, it can’t compile and throws exception.
In Firebug> Net tab you will see http 500 error when
Zimbra requests Zimlet JavaScript file (Zimlets-
nodev_all.js)
Zimlets-nodev_all.js is a merged and obfuscated file that
contains ALL zimlet JS in one file
No “debugger;” statements in your JavaScript.
“debugger;” is OK as long as you are in _dev mode or
when you are using ?dev=1
9 Zimbra, Zimlets, and the Zimbra logos are registered trademarks of Zimbra – A division of VMware. All other trademarks are property of their respective owners. Copyright © 2010
Tips & Common Errors
Zimlet is installed but not showing up in the client:
10 Zimbra, Zimlets, and the Zimbra logos are registered trademarks of Zimbra – A division of VMware. All other trademarks are property of their respective owners. Copyright © 2010
JXplorer for LDAP on Windows
11 Zimbra, Zimlets, and the Zimbra logos are registered trademarks of Zimbra – A division of VMware. All other trademarks are property of their respective owners. Copyright © 2010
Zimlets Registered in LDAP
12 Zimbra, Zimlets, and the Zimbra logos are registered trademarks of Zimbra – A division of VMware. All other trademarks are property of their respective owners. Copyright © 2010