Results 1 to 3 of 3

Thread: ZmFolder and General Object Managing

  1. #1
    Join Date
    Oct 2006
    Posts
    7
    Rep Power
    9

    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 08:55 AM.

  2. #2
    Join Date
    Oct 2006
    Posts
    7
    Rep Power
    9

    Default

    ... solved with a SOAP request

  3. #3
    Join Date
    Aug 2007
    Posts
    10
    Rep Power
    8

    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

Posting Permissions

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