[OGo-XML-RPC] Resources and appointments
Adam Tauno Williams
xmlrpc@opengroupware.org
Tue, 15 Aug 2006 05:41:14 -0400
On Tue, 2006-08-15 at 10:10 +0200, Tobias Kaefer wrote:
> Helge Hess schrieb:
> > On Aug 15, 2006, at 06:55, Tobias Kaefer wrote:
> >> this is my first post to this list. I'm currently working on a
> >> JSR168-calendar-portlet as my thesis project and I'm using OpenGroupware
> >> as the backend server.
> > Nice!
> I'm doing by best to get it "nice" ;)
> > I've just applied the patch to trunk. So you could wait a day for the
> > patch getting into the packages.
> That's really great! I appreciate the immediate responce! Thank you. I'm looking forward for the new packages.
I'm the author of the patch. FYI, the example in bugzilla is wrong. The
example says:
server.appointment.setResources("25730", [ "25810", "25830"]);
- but in fact you want to call it with the actual resource names, like:
server.appointment.setResources("25730", [ "North Conference Room",
"Video Projector 3"]);
I'd *assumed* that the resource list stored objectIds like the write
list field, but it appears to actually store resource names.