Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Zimlets

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-28-2006, 06:40 AM
Junior Member
 
Posts: 7
Default ZmFolder and General Object Managing

HI ! After a long search in the forum no matches were found about the topic of this post.

My idea is to check if a mail folder exists or not during the "execution" of a zimlet.

My collegue has extended the ZmFolder's methods adding others ones by which you can get easly an array that contains the children of a folder.

My guess is to create a ZmFolder object that is a clone of INBOX folder. Now appling the method at this object I can check in the array of his subfolder if a particular folder exists or not.

I've tried to do this in doubleClicked method of Zimlet in this way (checking the number of subfolder) :

Code:
psROOT = new ZmFolder; 
psROOT.ID_ROOT = ZmOrganizer.ID_ROOT;
alert(psROOT.subfoldIds.length);
but it doesn't work.
Does anybody have an idea or advice ?

Thanks.
Happy ZIMBRA to You

Last edited by AranBenjO; 11-29-2006 at 07:55 AM..
Reply With Quote
  #2 (permalink)  
Old 12-06-2006, 09:40 AM
Junior Member
 
Posts: 7
Default

... solved with a SOAP request
Reply With Quote
  #3 (permalink)  
Old 08-30-2007, 06:03 AM
Member
 
Posts: 10
Default

hi ,

can you please tell us how exactly u did that , if you post your code it will be useful as i do face the same problem

Thanks for your help,
Anand Samuel
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.