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

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 10-26-2011, 01:40 AM
Intermediate Member
 
Posts: 17
Default Is there a SOAP API for fetching others' public calendar entries

Hello, developers,

My company would like to replace our internal shared calendar with one using our Zimbra server. We know how to get the free/busy info, and that's all working fine, but yesterday i hit a wall...

a) Free/Busy is returning a lot of 1-second slots. From what i can tell (though i cannot say with 100% certainty), there refer to repeating appointments. Since there is no way to map these to their origin appointment (and therefore now way to know their durations), i've got to exclude these from the end user's view. That's the smaller problem, though...

b) Insofar as i can tell, the only way to fetch calendar data is via the SearchRequest. Also insofar as i can tell, it offers no way to fetch public calendar entries for _other_ users.

So my questions are:

1) Is there a Request for fetching public calendar entries for users other than the one who is logged in?

2) Is the "query" parameter for SearchRequest documented anywhere? The requests i've snooped from the ajax client just send cryptic numbers, e.g. "inid:\"10\" OR inid:\"16000\"".

:-?
Reply With Quote
  #2 (permalink)  
Old 10-26-2011, 05:11 AM
Intermediate Member
 
Posts: 17
Default

Sorry, i should have mentioned: Zimbra Server 7.1.1_GA_3196.
Reply With Quote
  #3 (permalink)  
Old 10-26-2011, 06:47 AM
Outstanding Member
 
Posts: 717
Default

Im not sure to #1, but I have a quick response for #2 at the moment:

There is a <query> tag within <SearchRequest> that you can use. For example, if you are using SearchRequest in mail:

<SearchRequest>
<query>is:unread</query>
</SearchRequest>

You can extrapolate that to calendar.
__________________
01 Networks, LLC / Cybernetik.net
Zimbra NE and OSS Cloud Hosting
Shared Web Hosting
Consulting Services
Reply With Quote
  #4 (permalink)  
Old 10-26-2011, 09:27 AM
Intermediate Member
 
Posts: 17
Default

Quote:
Originally Posted by Krishopper View Post
There is a <query> tag within <SearchRequest> that you can use. For example, if you are using SearchRequest in mail:

<SearchRequest>
<query>is:unread</query>
</SearchRequest>

You can extrapolate that to calendar.
There's the catch, though - it doesn't appear to be documented anywhere that i've found. is:unread would (i presume) apply to mails, but not for appointments (again: i presume/assume).

Today our Zimbra admin found access rights for allowing a specific user to read other calendars, but i have been unable to confirm that it works as we need because i can't seem to get any calendar/appointment results from SearchRequest. My suspicion is that i need the proper query=string, but i have no clue what needs to go into that string.
Reply With Quote
  #5 (permalink)  
Old 10-27-2011, 04:55 AM
Intermediate Member
 
Posts: 17
Default

BTW: i've found the query string documentation, and i have a tip for the documentors...

The file soap.txt uses the following notation for query strings: {query-string}. However, a grep for "query-string" does not reveal anything useful. The secrets i've been looking for are in query.txt, which a grep does not reveal because it does not use the same notation used by the file soap.txt.

So, my recommendation: when a given grammar element refers to an external element, e.g. {query-string}, then make sure the element being referred to also has that denotation somewhere nearby ("within grepping distance"). i've been looking for literally 3 days for this, and the documentation was hidden right under my nose.
Reply With Quote
  #6 (permalink)  
Old 10-27-2011, 04:57 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

Quote:
Originally Posted by sgbeal View Post
BTW: i've found the query string documentation, and i have a tip for the documentors...
You should file a bug report, posting here is next to useless.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 10-27-2011, 05:05 AM
Intermediate Member
 
Posts: 17
Default

Quote:
Originally Posted by phoenix View Post
...posting here is next to useless.
Thanks for the tip - i've come to the same conclusion .
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.