logo       

Re: Appointments: msg#00004

Subject: Re: Appointments
> > i tried to insert an appointment, but in this description there are no 
> > hints to the appointment types and how they are defined. 
> > i also miss an attribute for a title or name of the appointment.
> In C# I initialize a new appointment document like - 
> appointment = new XmlRpcStruct();
> appointment.Add("startDate", DateTime.Now);
> appointment.Add("endDate", DateTime.Now.AddHours(1));
> appointment.Add("title", "");
> appointment.Add("comment", "");
> appointment.Add("location", "");
> appointment.Add("cycleEndDate", DateTime.Now.AddDays(30));
> appointment.Add("aptType", "meeting");
> aptType is a string like: "birthday", "phone call", "duedate",
> "vacation", "at home", "ill", "meeting", "all types", "outward",
> "tradeshow".  Those are the defaults,  you can define more;  there is
> information in the docs plone.

If the appointment is a cyclic then you put the cycle specifier in a
"type" key, like:
appointment.Add("location", "once"); - which means not a cyclic.  The
values for "type" are something like - 
cyclelist.AppendValues("None", "once");
cyclelist.AppendValues("Annually", "yearly");
cyclelist.AppendValues("Monthly", "monthly");
cyclelist.AppendValues("Weekly", "weekly");
cyclelist.AppendValues("Week Day", "weekday");
cyclelist.AppendValues("Every Second Week", "2_weekly");
cyclelist.AppendValues("Every Fourth Week", "4_weekly");
- but with recent TRUNK you can put in ICAL cycle specifiers as well (I
haven't tested this, but they exist in the database).

Attachment: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe