Re: Re: Creating Team Tasks
Adam Tauno Williams <[email protected]> Fri, 30 Jun 2006 06:48:37 -0400
| Newsgroups | gmane.comp.cms.opengroupware.xmlrpc.devel |
|---|---|
| Message-ID | <[email protected]> |
> >> is there a way to create a team task via XML-RPC? According to the API > >> documentation the job data type has an "isTeamJob" field, but I cannot > >> figure out how to specify the team. > > I'm not certain that the isTeamJob actually signifies. Does it mean the > > task is currently delegated to a team, or that it was created delegated > > to a team, etc... ? > I thought that the team flag had a simple meaning, but after reading > this > http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=752 > I not sure anymore. Yep, although I haven't tested that one in awhile. I know that when I tried to make a Gtk# widget for displaying tasks I had problems reliably determining what kind of object (team or account) the executant was. > > Have you tried simply setting the executant to be a team? > > My fear is your going to bump into - > > http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=239 > > (which has pretty much shut down some of my intentions). > Yes, exactly: the executor is not preserved. Seems like the XML-RPC > interface needs some work. It does. http://bugzilla.opengroupware.org/bugzilla/buglist.cgi?query_format=&product=XmlRpcAPI&bug_status=NEW&bug_status=NEEDINFO&bug_status=REOPENED&bug_status=ASSIGNED&short_desc_type=allwordssubstr&short_desc=&long_desc_type=substring&long_desc=&Search=Search But at least OGo has an API! :) Actually some bits of it work better than others; for instance, the contact/enterprise parts work pretty well and are quite complete. The schedular API seems like it is 90% 'there'. But the job.* namespace seems to be the red-headed step child of the API. The code repository contains this note ---- Note: the XML-RPC API as available will stay and not change for the foreseeable future. But you may want to check out the SandStorm servers or ZideStore, which both provide a bit easier API (but are less stable from an API point of view). ---- http://svn.opengroupware.org/viewcvs/trunk/XmlRpcAPI/README?rev=760&view=markup And if you are really bored/curious you can look around in SandStorm - http://svn.opengroupware.org/viewcvs/trunk/Recycler/SandStorm/skyjobd/INTERFACE.xml?rev=16&view=markup Retooling the XML-RPC API has been on the roadmap for a long time (although I can't seem to find that page right now) But so far I haven't been able to convince any bored C developers to look at it. :( But not for lack of trying. > By the way, what is the meaning of the person argument in the > person.*Job() methods? Always struck me as odd too, since it seems to have to be the current account anyway. I assume it instructs the daemon who the owner of the task is. -- OpenGroupware.org XML-RPC [email protected] http://mail.opengroupware.org/mailman/listinfo/xmlrpc