Sample CustomerUser Map entries

Dont create your support topics here! No new topics with questions allowed!

Moderator: crythias

Forum rules
Dont create your support topics here! No new topics with questions allowed!
Post Reply
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Sample CustomerUser Map entries

Post by crythias »

I thought you might be interested in a few http-link additions to the CustomerUser Map:

Code: Select all

            [ 'UserLogin',      'Username',   'login',      1, 1, 'var', '$Env{"CGIHandle"}?Action=AgentTicketSearch;Subaction=Search;CustomerUserLogin=$Data{"UserLogin"}', 0 ],
            [ 'UserEmail',      'Email', 'email',           1, 1, 'var', '$Env{"CGIHandle"}?Action=AgentTicketCompose&ResponseID=1&TicketID=$Data{"TicketID"}&ArticleID=$Data{"ArticleID"}', 0, 'OTRSPopup_TicketAction' ],
            [ 'UserStreet',       'Street',      'street',       1, 0, 'var', 'http://maps.google.com/?q=$Data{"UserStreet"},$Data{"UserCity"},$Data{"UserZip"}', 0, "_blank" ],
The first one looks for the current customer's tickets.
The second one is from Defaults.pm and is basically a quick compose reply.
The third looks up a Google Map of the address.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Post Reply