Modify Dashboard - Add Due Date

Moderator: crythias

Locked
stierney
Znuny newbie
Posts: 7
Joined: 14 Jul 2010, 18:15
Znuny Version: 2.4.7

Modify Dashboard - Add Due Date

Post by stierney »

Does anyone know what the QData variable call would be to get the Due Date on a ticket?

I want to add Due Date to the Dashboard, which I have already successfully modified the AgentDashboardTicketGeneric.dtl to add the column but I can't seem to figure out what I need to add for the QData{'????'} to grab the correct data. Looking at the database it appears that it places this content in the FreeText6 field, but I'm not sure what the variable should be.

Any help would be greatly appreciated.

Thanks,

--Sean
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Modify Dashboard - Add Due Date

Post by crythias »

I implemented Due Date by adding another pending state of "pending due", so I don't have the same type of problem as do you. Unfortunately, that precludes use of "pending reminder", but I like your method as well. I just added a "Free Text Field" Due Date and it showed up on ticket zoom. Quite Nice.

In my case, the AgentDashboardTicketGeneric.dtl, somewhere around line 53

Code: Select all

          <td>$QData{"TicketFreeText1"}</td>
showed the data of the field in the dashboard. If you want to show the Key, try TicketFreeKey#.
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
stierney
Znuny newbie
Posts: 7
Joined: 14 Jul 2010, 18:15
Znuny Version: 2.4.7

Re: Modify Dashboard - Add Due Date

Post by stierney »

Thanks crythias... that got me pointed in the right direction. The necessary key was "TicketFreeTime6"

Code: Select all

<td width="10%">$QData{"TicketFreeTime6"}</td>
Locked