Link directly to user record
Brought to you by:
rizzo,
wendall911
Related To: [ 767273 ] Add link to username.
The only way I can see for another module to create a
link that views a specific record is to determine what
the phpwsContacts id for a specific user id is first.
This creates additional queries (& load) on the db
server. It would be great if we could just say we
wanted to see the contact info for user id #352 and
then phpwsContacts could use an optimized query to pull
up the correct record.
I could make you a patch file, but I'm not sure what
direction you want to go on this.
Logged In: YES
user_id=61900
Determining the phpwsContacts ID should be easy using the
"mine" field. This says that I could "own" 4 or 5 contacts,
but the one with mine=1 is actually _mine_.
So ... I'm not sure what you're asking of phpwsContacts in
this case. Sounds like you wanted something for other apps
to use. Or did you want my manager to take a "lookup"
action based on username and return the contact to you?