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

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 04-27-2010, 08:44 AM
Loyal Member
 
Posts: 92
Unhappy How to get calendar folder only using

TITLE is How to get calendar folders only using CreateSearchFolderRequest

hi !

By soap, i need to get the list of all calendars.
I understand one calendar=one folder so i just to get all the folders of calendar kind.

According the soap.txt doc, i should use CreateSearchFolderRequest but, i didn't see the attribut to specify the kind....
Quote:
<CreateSearchFolderRequest>
<search name="..." query="..." [types="..."] [sortBy="..."] l="{folder}" [f="{flags}"] [color="{color}"]/>
</CreateSearchFolderRequest>
is it Types ?

I doubt cause when i get a list of folder using GetFolderRequest , the array response is like :
Quote:
[18] => Array
(
[F] => #
[ID] => 15
[REV] => 1
[I4NEXT] => 5805
[S] => 0
[I4MS] => 61075
[MS] => 1
[NAME] => Tasks
[N] => 2
[RGB] => #000000
[L] => 1
[VIEW] => task
)

[19] => Array
(
[F] => #
[ID] => 24849
[REV] => 65050
[I4NEXT] => 24852
[S] => 0
[I4MS] => 65051
[MS] => 65050
[NAME] => testcal
[N] => 1
[RGB] => #000000
[L] => 1
[VIEW] => appointment
)

Does the "VIEW" structure stand for "Types" ? if yes....what did you use the same name both sides ??
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

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.