Display owner's Full Name for each ticket in Dashboard

Moderator: crythias

Post Reply
mshi
Znuny newbie
Posts: 66
Joined: 08 Mar 2011, 11:10
Znuny Version: 3.0

Display owner's Full Name for each ticket in Dashboard

Post by mshi »

Hi,

After the following two lines were inserted in the file of /opt/otrs/Kernel/Output/HTML/Standard/AgentDashboardTicketGeneric.dtl,

<td>$QData{"Owner"}</td> <!-- add this line for the owner-->
<td>$QData{"Responsible"}</td> <!-- add this line for the responsible -->

OTRS will show the login name of Owner and Responsible for each ticket in the Dashboard.

My question is How make OTRS show Firstname and Lastname of the owner or Responsible in dashboard instead of login name?

Thanks in advance,

Mshi
OTRS: 3.0.7
ITSM: 3.0.2
Running on: Ubuntu 10.04 LTS with MySQL, integrated with MS 2003 Active Directory Server
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Display owner's Full Name for each ticket in Dashboard

Post by crythias »

I'm not certain that's possible. You can try to

Code: Select all

<!-- dtl:block:Owner -->
                        <td>$Quote{"$Data{"UserFirstname"} $Data{"UserLastname"}","18"}</td>
<!-- dtl:block:Owner -->
<!-- dtl:block:Responsible -->
                        <td>$Quote{"$Data{"UserFirstname"} $Data{"UserLastname"}","18"}</td>
<!-- dtl:block:Responsible -->
But I can't guarantee anything.
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
gamcastro
Znuny newbie
Posts: 1
Joined: 12 Nov 2011, 13:57
Znuny Version: 3.0.11
Real Name: George Castro

Re: Display owner's Full Name for each ticket in Dashboard

Post by gamcastro »

did not work
Any other suggestions ?
marty210578
Znuny newbie
Posts: 22
Joined: 04 Apr 2011, 16:15
Znuny Version: OTRS 3.0.10
Real Name: Martijn

Re: Display owner's Full Name for each ticket in Dashboard

Post by marty210578 »

I was trying to find this out myself as well.
Problem is that you cannot simply use "UserFirstname" as this is not a property of the ticketdata.
http://faq.otrs.org/otrs/public.pl?Acti ... ItemID=186

There needs to be a combination/link made with OwnerID and fields in the table user..
Since my programming skills are not that great i stocked here...
OTRS Version OTRS 3.0.10
ITSM 3.05
marty210578
Znuny newbie
Posts: 22
Joined: 04 Apr 2011, 16:15
Znuny Version: OTRS 3.0.10
Real Name: Martijn

Re: Display owner's Full Name for each ticket in Dashboard

Post by marty210578 »

I managed to do this trick for the customer portal via this post :
http://forums.otrs.org/viewtopic.php?f=17&t=2239

So to my best knowledge and following the guidelines from the post i need to edit the PM file and the DTL file
Question remains is it:
Kernel/Output/HTML/DashboardTicketGeneric.pm or Kernel/Modules/AgentDashboard.pm
I know for sure that this is the DTL file : AgentDashboardTicketGeneric.dtl
I tried to add some of the code provided in http://forums.otrs.org/viewtopic.php?f=17&t=2239 but that only caused major errors with running the OTRS

Somebody some hints to adept the solution in the Agent dashboard?

thanks
OTRS Version OTRS 3.0.10
ITSM 3.05
santoshreddy_spy
Znuny newbie
Posts: 33
Joined: 09 Nov 2011, 11:20
Znuny Version: 2.4.4

Re: Display owner's Full Name for each ticket in Dashboard

Post by santoshreddy_spy »

Is it possible to do the same thing in customer portal (ie in dashboard)
Post Reply