Results 1 to 6 of 6

Thread: Restriction on size of folder ID used in Zimbra Client

  1. #1
    Sbhingarkar is offline Active Member
    Join Date
    Jul 2007
    Posts
    30
    Rep Power
    7

    Default Restriction on size of folder ID used in Zimbra Client

    Greetings,

    Wishing all the known and unknown Zimbra users a very haapy and propserouse new year.

    I have a query regarding the folder IDs allocated by Zimbra for default folders.For default folders IDs are of the type Integer for e.g
    7-Contacts folder
    13-Emailed contacts folder.

    Does Zimbra Client have any restriction on the type and size of newly created folders like(created inside inbox etc).?

    Can I use any type as a folder ID apart from Integer? e.g Folder id of the Type Hexadecimal.


    Any help or pointers on this issue will be highly useful for Zimbra Client usage.

    Please provide any help on this query.

    Thanking in Advance.

    -Sudhir

  2. #2
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    Default

    All folder IDs are assigned by the server, and so you cannot choose the ID for your folder.

    Any type of folder can occur anywhere in the folder structure. So yes, you could put a calendar under Inbox. (I'm not sure if the web client allows this, but the server doesn't care.)

    Folder names must be between 1 and 128 characters long. They may not contain control characters, tabs, carriage returns, linefeeds, or any of the three characters " and : and /
    Bugzilla - Wiki - Downloads - Before posting... Search!

  3. #3
    Sbhingarkar is offline Active Member
    Join Date
    Jul 2007
    Posts
    30
    Rep Power
    7

    Default

    Hi ,

    I really thank you for the prompt reply.
    <<All folder IDs are assigned by the server, and so you cannot choose the ID for your folder>>.As you mentioned that all folder IDs are assigned by server.

    Can I conclude that Zimbra folder IDs are controlled by Zimbra server and have a restriction that they should be of the type Integer(int).?

    As this Id will be sent to Zimbra client in the response as a String and Zimbra client must be converting it gain back to Integer.

    If this is incorrect,Can you please help me out in understanding the use case :
    "How does Zimbra client Interprested the folder ID on the UI front if Id is not of the type Integer"?
    Here It might have to consider browser compatibility ?(Just a thought)

    Thanking you in anticipation.
    Thanks
    -Sudhir

  4. #4
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    Default

    If you are writing client code, you must consider the folder ID to be a string. For instance, folders owned by other users will appear to have IDs of the form "{other-user's-account-uid}:{numeric-folder-id}".
    Bugzilla - Wiki - Downloads - Before posting... Search!

  5. #5
    Sbhingarkar is offline Active Member
    Join Date
    Jul 2007
    Posts
    30
    Rep Power
    7

    Default

    Thanks for the reply.

    Can you please ellaborate it more ?

    Do you mean to say Zimbra Client does not convert the IDs recived from server (In String form) to Integer form?
    ie. It just uses them as it is.

  6. #6
    dkarp is offline Zimbra Employee
    Join Date
    Aug 2005
    Posts
    1,433
    Rep Power
    11

    Default

    Yes. Clients (including the Zimbra clients) must treat item IDs as strings. They are not always numeric.
    Bugzilla - Wiki - Downloads - Before posting... Search!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. .pst migration issues
    By jimklein in forum Migration
    Replies: 13
    Last Post: 02-16-2009, 01:55 AM
  2. [SOLVED] Spam Being Sent Thru Server - Help Needed!
    By msf004 in forum Administrators
    Replies: 22
    Last Post: 03-14-2008, 11:11 PM
  3. Big Fubar on 5 FOSS GA Upgrade
    By uxbod in forum Administrators
    Replies: 24
    Last Post: 01-21-2008, 03:37 AM
  4. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 12:45 PM
  5. FC3 Install and no zimbra ?
    By aws in forum Installation
    Replies: 10
    Last Post: 10-09-2005, 04:19 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
  •