> Trying to remember where I was a while ago. Some of it is coming back.
> I'm able to query, retrieve and display an enterprise like
> criteria = [
> { 'conjunction' : 'AND', 'key' : 'bai_id', 'value' : '0CARTR',
> 'expression' : 'EQUALS' }
> ]
> result = server.zogi.searchForObjects('Enterprise', criteria, 0)
> if (len(result) == 0):
> My question is how to query and retrieve a contact??
Second example down on
<
http://code.google.com/p/zogi/wiki/searchForObjects> Basically
Enterprise and Contact searches are the same; except the fields are
different [of course]. Internally on the server Enterprises and
Contacts are both Company objects - think OOP inheritance, Contacts and
Enterprises both have addresses, phone numbers, company values, etc... -
so most [all?] operations, like searching and access control, work
identically for Contacts and Enterprises
--
OpenGroupware.org XML-RPC
xmlrpc@...
http://mail.opengroupware.org/mailman/listinfo/xmlrpc