Results 1 to 6 of 6

Thread: how best to create an appointment from external app?

  1. #1
    Join Date
    May 2007
    Posts
    98
    Rep Power
    8

    Default how best to create an appointment from external app?

    Hi,
    As my zimbra setup is nearing completion, I'm now wondering about the best way to link it with other custom office applications.
    These applications include invoicing, accounting with quoting and phonecall followups. they all are windows-based and access a central FoxPro database (which I must keep)

    Those apps can add appointments in outlook calendars (and create other msoffice docs)

    When the zimbra server is going live (OSS), outlook will be dropped favoring the webapp under firefox.

    What I need to know first, is the best way for an external (windows?) application to zimbra to create appointements.

    Is this something zimlets could do? If so, which language are they written in?

    regards
    glenn

  2. #2
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    10

    Default

    Your best bet is probably either to create a iCalender event and upload it, or to use the Zclient/SOAP interface to call the server to create the event.

    For both systems you probably want to create the event in your existing application rather then in Zimbra.

    If you wanted, you could also have Zimbra pull the events from a outside server. If you did that, you could write the functionality in a Zimlet (which itself is written in Javascript).

  3. #3
    Join Date
    Jan 2007
    Posts
    26
    Rep Power
    8

    Default

    The best way to build code to do this involves the following steps:

    1) Grab the mailbox
    2) Create a ZComponent
    3) Fill the ZComponent with the following values:
    * start time
    * end time
    * location
    * name
    4) Set the ZComponent as the component of a ZInvite
    5) Create a ZMailbox.ZOutgoingMessage object
    6) Create a ZMailbox.ZOutgoingMessage.MessagePart object
    * The constructor here will take your content-type and content
    7) Set the ZMailbox.ZOutgoingMessage object
    * subject
    * message (which is a ZMailbox.ZOutgoingMessage.MessagePart object)
    8) Use the mailbox to add the appointment
    * mBox.createAppointment(folderId, flags, ZMailbox.ZOutgoingMessage, ZInvite, event_id)

  4. #4
    Join Date
    May 2007
    Posts
    98
    Rep Power
    8

    Default

    enough new keywords to keep me occupied!

    thank you both for the suggestions.
    glenn

  5. #5
    Join Date
    Jun 2010
    Location
    Rajkot, India
    Posts
    160
    Rep Power
    5

    Default

    Quote Originally Posted by glenndm View Post
    enough new keywords to keep me occupied!

    thank you both for the suggestions.
    glenn
    Hello,

    First of all, sorry for opening too old thread.

    I just wanted to know, had you achieved your goal? My requirement is very similar to yours, so if your answer is 'yes', I shall need little guidance from you.

    Thanks in advance.

    Dipesh

  6. #6
    Join Date
    May 2007
    Posts
    98
    Rep Power
    8

    Default

    Sadly, this is still on my todo list. At the time it got shoved down as other matters took precedence and it hasn't floated back up since.

    glenn

Similar Threads

  1. PHP SOAP create appointment example
    By AddGun in forum Developers
    Replies: 13
    Last Post: 09-27-2010, 05:41 PM
  2. Fedora 5: Could not create the Java virtual machine
    By mi2enno in forum Installation
    Replies: 6
    Last Post: 06-01-2007, 04:16 AM
  3. Opensource backup Question.
    By nfear24 in forum Administrators
    Replies: 3
    Last Post: 04-01-2007, 12:47 AM
  4. Is it started or not
    By kwelipatton in forum Installation
    Replies: 10
    Last Post: 03-28-2006, 11:11 PM
  5. oops, where did my appointment go?
    By StefanD in forum Users
    Replies: 13
    Last Post: 02-22-2006, 05:04 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
  •