Difference between revisions of "Writing a Zimlet"

(organizing zimlet topics)
 
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Mainly there are two ways to implement a Zimlet:
+
{{BC|Community Sandbox}}
 +
__FORCETOC__
 +
<div class="col-md-12 ibox-content">
 +
=Writing a Zimlet=
 +
{{KB|{{Unsupported}}|{{ZCS 7.0}}|{{ZCS 6.0}}|}}
 +
{{Archive}}{{WIP}}Mainly there are two ways to implement a Zimlet:
  
 
'''1. Use xml api'''  
 
'''1. Use xml api'''  

Latest revision as of 11:59, 13 July 2015

Writing a Zimlet

   KB 2918        Last updated on 2015-07-13  




0.00
(0 votes)

Mainly there are two ways to implement a Zimlet:

1. Use xml api

  1. You can do some of the basic stuffs using just xml-api.
  2. Limited set of features(e.g. you can’t design your own dialog box or create a Zimbra entity(like a folder, tag etc)
  3. No or limited debugging capabilities


An Example Zimlet using xml-api:

Hello World -Use XML-api to highlight "hello world" String as a link and show a tooltip.


2. Use JavaScript api

  1. You can write some really complex Zimlets with relative ease(after all the whole Zimbra is written in Javascript)
  2. Firebug provides you with world-class debugging power.
  3. You can still use xml api for some small purposes like creating a panel item, context-menus etc.


An Example Zimlet using JavaScript-api:

Develop an example RSS Zimlet -Learn how to fetch an RSS feed and display it in a mini-calendar area or in a dialog box

Verified Against: ZCS 5.0 Date Created: 6/29/2009
Article ID: https://wiki.zimbra.com/index.php?title=Writing_a_Zimlet Date Modified: 2015-07-13



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search