Results 1 to 4 of 4

Thread: [SOLVED] Appointment search

  1. #1
    Join Date
    Oct 2008
    Posts
    74
    Rep Power
    7

    Unhappy [SOLVED] Appointment search

    Hi!

    I'm (again) having a hard time searching for appointments by appointment date.

    I want to search for all appointments in 2010.

    So I do a :

    zmmailbox -z -m <username> s -t appointment "in:/Calendar AND (appt-start>=2010/01/01 AND appt-start<=2010/12/31) OR (appt-end>=2010/01/01 AND appt-end<=2010/12/31)"

    ...and get no appointments, though I now, I have appointments in 2010.

    What am I doing wrong?

    Kind regards
    Dennis

  2. #2
    Join Date
    Apr 2010
    Location
    Italy
    Posts
    160
    Rep Power
    5

    Default

    Hi,

    Code:
    zmmailbox -z -m user@domain.com gaps 01/01/2010 12/31/2010 /Calendar
    Where 'gaps' means 'getAppointmentSummaries'
    Hope this help!

    Regards
    Last edited by gvillari; 07-05-2011 at 07:13 AM.

  3. #3
    Join Date
    Oct 2008
    Posts
    74
    Rep Power
    7

    Default

    That works. Thanks. However, the guys at Zimbra should check with the correct search string, though.

  4. #4
    Join Date
    Sep 2012
    Posts
    3
    Rep Power
    3

    Default

    I want to search the appointment using name , id and date and all other possible fields, I want php functions to do that, so I am using soap request. But it is not working as it supposed to work. Can anyone please tell me . Find the code below.

    echo ' Search for the event in the calendar <hr/>';

    $asOption['echo'] = '1';
    $asOption['max'] = '1000';
    $asOption['html'] = '1';

    $sSoapRequest ='<SearchRequest xmlns="urn:zimbraMail" types="appointment" '.$oZimbra->buildOptionString($asOption).'>

    <GetApptSummariesResponse>
    <appt id="375"
    fba="B"
    class="PUB"
    status="CONF"
    ptst="AC"
    invId="375-334"
    compNum="0"
    isOrg="1"
    priority="0"
    percentComplete="0"
    >
    <category>categ 1</category>
    </appt>
    </GetApptSummariesResponse>

    </SearchRequest>';

    $vData = $oZimbra->soapRequest($sSoapRequest);

    var_dump($vData);

Similar Threads

  1. Search file contents in Briefcase
    By LexxTheFox in forum Administrators
    Replies: 5
    Last Post: 10-20-2011, 10:31 AM
  2. Replies: 0
    Last Post: 05-30-2011, 05:26 PM
  3. Replies: 1
    Last Post: 04-19-2011, 01:27 PM
  4. Enhance Zimbra search to search local files
    By krabina in forum Developers
    Replies: 0
    Last Post: 11-03-2010, 02:28 PM
  5. Search within search
    By zocs in forum Users
    Replies: 0
    Last Post: 12-24-2007, 01:09 AM

Posting Permissions

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