
Hi Fernando, On Mon, Sep 15, 2003 at 04:08:31PM -0300, Fernando Schapachnik wrote:
Map => [ # note: Login, Email and CustomerID needed! # var, frontend, storage, shown, required, storage-type, http-link
...
[ 'UserCustomerID', 'CustomerID', 'id', 1, 1, 'var', 'http://URL/script?id=$Data{"CustomerID"}' ], ],
but the expansion is not working. Thanks in advance!
Which script do you refer to? It seems to me this were a basic Perl question, and not directly deriving from OTRS, does it?
I don't think so. I'm refering to a custom script that shows extended customer information. It takes a parameter 'id' being the CustomerID. Of course 'URL' and 'script' are just placeholders to simplify the example.
I think you need to set the CustomerID link in the customer detail box, because if I understood it correctly, you don't use the otrs customer backend modules. Try the following in you Kernel/Config.pm: $Self->{CustomerDBLink} = 'http://yourhost/customer.php?CID=$Data{"CustomerID"}'; :)
Thanks and regards.
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Old programmers never die. They just branch to a new address.