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 08-09-2007, 07:14 AM
Loyal Member
 
Posts: 76
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
Reply With Quote
  #2 (permalink)  
Old 08-09-2007, 09:28 AM
Zimlet Guru & Moderator
 
Posts: 467
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).
Reply With Quote
  #3 (permalink)  
Old 08-09-2007, 01:33 PM
Zimbra Employee
 
Posts: 26
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)
Reply With Quote
  #4 (permalink)  
Old 08-10-2007, 02:01 AM
Loyal Member
 
Posts: 76
Default

enough new keywords to keep me occupied!

thank you both for the suggestions.
glenn
Reply With Quote
  #5 (permalink)  
Old 01-23-2011, 10:16 PM
Special Member
 
Posts: 149
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
Reply With Quote
  #6 (permalink)  
Old 01-24-2011, 06:44 AM
Loyal Member
 
Posts: 76
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
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.