Results 1 to 5 of 5

Thread: Changes in 6.0

  1. #1
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    554
    Rep Power
    7

    Default Changes in 6.0

    Hi.

    Is there any document online where I can find information on what changed in Zimlet development between 5 and 6 series?

    thanks
    YetOpen S.r.l. ~ Your open source partner
    Lecco (LC) - ITALY
    http://www.yetopen.it

  2. #2
    Join Date
    Aug 2008
    Posts
    72
    Rep Power
    7

    Default Yes please!

    Please zimbra I would apricate such a doc, too! The zimlets dev whitepaper 0.97 is not even correct for ZCS 5 in some points.

  3. #3
    Join Date
    Sep 2005
    Posts
    187
    Rep Power
    10

    Default

    Hi, We are currently working on updating Wiki about 6.x, but here are the major differences or improvements b/w 5.x and 6.x

    1. [changed] Zimlet's deployment folder has changed from:
    /opt/zimbra/jetty/webapps/service/zimlets/
    to:
    /opt/zimbra/zimlets-deployed/

    2. [changed]There is a newer and better API to add toolbar buttons called initializeToolbar.
    Below is the API call..
    Code:
    initializeToolbar API allows us to create toolbar buttons very easily.
    @app: current application
    @toolbar: toolbar object
    @controller: App’s controller
    @View: Current view Id of the app (App might have multiple Views, like conv view and msg view)
    com_zimbra_social.prototype.initializeToolbar = function(app, toolbar, controller, view)
    The way you would use it is..
    Code:
    Com_Zimbra_Test.prototype.initializeToolbar = function(app, toolbar, controller, viewId) {
    	if(viewId =="CLV"){
    		//add code to display button
    	}
    };
    Code:
    6.x supports multiple compose-windows to be open at the same time in tabs. So the implementation should should check for indexOf("COMPOSE") >=0
    Com_Zimbra_Test.prototype.initializeToolbar = function(app, toolbar, controller, viewId) {
    	if(viewId.indexOf("COMPOSE”)  >=0){
    		//add code to display button
    	}
    };


    3.[added] You can create a Zimlet in its own tab
    Here is a test zimlet:
    http://bugzilla.zimbra.com/attachment.cgi?id=14975

    4.[added] You can now save zimlet data in DB(10k per item limit) :
    4.1 You can store data by creating a soap call with some unique key. Key could be any string
    Bug 41198 – Use SetMailboxMetadataRequest for setting all web client-specific implicit prefs
    SetMailboxMetadataRequest
    GetMailboxMetadataRequest

    4.2 You can associate some custom data for any zimbra-item. For example: say you want to store some notes/color information for each email. You can do such things using the below api.
    Bug 39719 – Need a general, extensive way to store per-user data by JavaScript
    SetCustomMetadataRequest
    GetCustomMetadataRequest
    PS: We are adding a JS wrapper to 4.1 and 4.2 SOAP APIs, they should be in 6.4 or in 6.5

    5. [changed] JSP Taglib library support that can be used to talk to Zimbra server(not custom JSP support) has changed from 5.x to 6.x as well.
    Please read this wiki link:
    Zimlet JSP - Zimbra :: Wiki
    Last edited by rrao; 12-02-2009 at 10:35 AM.
    Bugzilla - Wiki - Downloads - Before posting... Search!

  4. #4
    Join Date
    Feb 2009
    Location
    Lecco, Italy
    Posts
    554
    Rep Power
    7

    Default

    rrao, thank you very much for your reply.

    I'd be more interested in know the incompatibilities between the two versions.
    Mainly because I'd like to fix the Alfresco zimlet (asap), but actually I've no experience with zimlets, yet
    thanks
    YetOpen S.r.l. ~ Your open source partner
    Lecco (LC) - ITALY
    http://www.yetopen.it

  5. #5
    Join Date
    Sep 2005
    Posts
    187
    Rep Power
    10

    Default

    Quote Originally Posted by maxxer View Post
    rrao, thank you very much for your reply.

    I'd be more interested in know the incompatibilities between the two versions.
    Mainly because I'd like to fix the Alfresco zimlet (asap), but actually I've no experience with zimlets, yet
    thanks
    #1, #2 and #5 are the once that are changed and you need to be aware of if your zimlet has stopped working in 6.x but was working in 5.x
    Bugzilla - Wiki - Downloads - Before posting... Search!

Similar Threads

  1. Possible problems with attachments - Zimbra 6.0 & EAS
    By bradb21 in forum Zimbra Mobile
    Replies: 2
    Last Post: 09-14-2009, 03:41 PM
  2. ZCS 6.0 + 5.x outlook connector?
    By mrjohnsen in forum Zimbra Connector for Outlook
    Replies: 3
    Last Post: 09-03-2009, 12:22 PM
  3. ZCS 6.0 NE Private Beta!
    By jholder in forum Announcements
    Replies: 0
    Last Post: 05-22-2009, 11:20 AM
  4. Hangs on "Loading" screen
    By gbr in forum General Questions
    Replies: 16
    Last Post: 06-19-2008, 02:01 PM
  5. .53 Will Not "Launch" in FF 2.0.0.6
    By jhoelz in forum Installation Help
    Replies: 4
    Last Post: 08-04-2007, 10:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •