Hi Iñaki,
Currently this is not possible, but there were some discussions about this feature some time ago (if I'm not wrong, there is a feature request about this on the tracker).
The only custom information you can push form script (at save) and retrieved (at lookup) are the branch flags :).
Regards, Bogdan
Iñaki Baz Castillo wrote:
Hi, I'd like to extend the "location" table with more attributes and get them as AVP's after "lookup()" function. Is it any automatic way to do that? I mean something as "auth_db" module's "load_credentials" that load AVP's with more subscriber data.
I don't find it so I think I'll need to do a custom SQL query after "lookup()" (in branch_route) and get the custom fields.
Anyway I ask it: is there any way I don't know to get this "easily"?
Thanks.