[OGo-XML-RPC] Resources and appointments

Tobias Kaefer xmlrpc@opengroupware.org
Wed, 16 Aug 2006 08:30:57 +0200


Adam Tauno Williams schrieb:
> I'm the author of the patch. 
Thanks for work work!
> 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.
>   
That's good to know.

Is there a possibility that the behaviour could be changed to

server.appointment.setResources("25730",  [ "25810", "25830"]);

Because I like it more to have object ids to deal with, than a
changeable plaintext argument.

I'm not that much into Objective-C, so it is not a quick job for me to
check the possiblities.

Greets

Tobi