[OGo-Developer] accessing telephone numbers of team members in OGOGroupsPage

Sebastian Reitenbach developer@opengroupware.org
Sun, 04 Mar 2007 16:44:06 +0100


Hi, 

I try to get access to the extended person attributes and telephone numbers of
the members 
of the teams in ogo in OGoGroupsPage WebUI.

running ogo with -LSProfileCommands YES, I see that the following commands are
called when  
I enter the Teams module. They are called in:

LSGetMemberForTeamCommand.m
    0.000s userdefaults::get
    0.000s userdefaults::get
  0.009s person::get-extattrs
  0.007s person::get-telephones

when I add some NSLog output lines in e.g. LSFetchTelsForPersonCommand.m, that
defines 
person::get-telephones, I see on the command line output that ogo is retrieving
the 
telephone numbers for the team members.

but adding 
NSLog(@"Team members: %@", members);
just after running the team::members command, only shows me an array of
<EOGenericRecord: 
description Person attributes={ of the team members. Unfortunately they do not
contain the 
extended attributes nor telephone numbers. 
I am looking for a way to access these values in the webui. As I think as that
they are 
already fetched from database, there must be an easy way to access these, but
didn't found 
the way yet. Any point in the right direction is welcomed.

kind regards
Sebastian