Results 1 to 2 of 2

Thread: SearchCalendarResourcesRequest change in Zimbra 7?

Hybrid View

  1. #1
    Join Date
    Jan 2009
    Rep Power

    Default SearchCalendarResourcesRequest change in Zimbra 7?

    I have a zimlet that searches for calendar resources. It uses SearchCalendarResourcesRequest.

    In Zimbra 6 it works but it no longer works in Zimbra 7. The SOAP call comes back but the attributes I requested are not in the _attrs field.

    var soapDoc = AjxSoapDoc.create("SearchCalendarResourcesRequest", "urn:zimbraAccount") ;
    var method = soapDoc.getMethod()
    method.setAttribute("attrs", ["displayName", "description", "zimbraCalResContactEmail"]) ;
    method.setAttribute("sortBy", "displayName") ;
    method.setAttribute("sortAscending", "1") ;
    // (filter code omitted as it seems to be working)
    response = command.invoke({soapDoc: soapDoc})
    Here is the response (note that the attributes I requested are not included):
    Note that I can get some of the attributes, e.g., zimbraCalResLocationDisplayName and zimbraCalResContactEmail. But other attributes will not be returned, e.g., description and displayName. Could this be a permissions issue?
    Last edited by hookmac123; 01-28-2012 at 06:34 PM. Reason: Clarified what data was missing

  2. #2
    Join Date
    Mar 2011
    Rep Power

    Thumbs down sortBy is not working

    Also, the sortBy option is not working, all items in the response keep the same order no matter what attribute you put in sortBy.....

Similar Threads

  1. What to clean on a Zimbra mail server?
    By tezarin in forum Administrators
    Replies: 11
    Last Post: 12-16-2011, 11:43 AM
  2. Zimbra 6 on Ubuntu 8.04 x64 reverting to IPv6
    By nimble7 in forum Installation
    Replies: 1
    Last Post: 11-29-2010, 11:03 PM
  3. [SOLVED] Clamav problem ? What's happening ?
    By aNt1X in forum Installation
    Replies: 23
    Last Post: 02-14-2008, 04:43 AM
  4. dspam logrotate errors
    By michaeln in forum Users
    Replies: 7
    Last Post: 02-19-2007, 11:45 AM
  5. Fedora Core 3, Clean Install - Not working!
    By pcjackson in forum Installation
    Replies: 17
    Last Post: 03-05-2006, 06:38 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