[SOLVED] Add DynamicField to Dashboard

Moderator: crythias

Locked
ciotola
Znuny newbie
Posts: 35
Joined: 27 Apr 2012, 13:56
Znuny Version: 3.2.9 /3.3 / 4.0.5
Real Name: Giampiero
Company: Atos
Location: Roma - IT

[SOLVED] Add DynamicField to Dashboard

Post by ciotola »

Hi to all,
i've customized with success the AgentDashboard adding a new column but i've two little problem:

1) The column added is a DynamicField, in the attached image the configuration
Image
There is a way for show in the table as column header the label "Due Date" instead of the name?

2) The column value is not corret. The value is for all the fields equal to "33" instead of the correct value stored in the DB. This field is a Date/Time Files.
Image
I don't know if there are other parameters that i've to change.

Thanks in advance for your support,
Regards,
Giampiero
Last edited by ciotola on 25 Sep 2014, 14:56, edited 1 time in total.
OTRS in several version starting from 3.0

Production Environment
OTRS 4.0.5 - Postgres9.3
ITSM, KIX4OTRS, FAQ,SURVEY
OS RedHat 6.4

Auth: Ldap - CAS - DB
ciotola
Znuny newbie
Posts: 35
Joined: 27 Apr 2012, 13:56
Znuny Version: 3.2.9 /3.3 / 4.0.5
Real Name: Giampiero
Company: Atos
Location: Roma - IT

Re: Add DynamicField to Dashboard

Post by ciotola »

HI Group,
for the column Header i've solved configring the dynamicfield in the "option Column" while before it was configure as "DefaultColumns"

We have still open the issue on the value shown in the "Due Date" column. Instead of the "date Time" imposted we see the value "33 m"

Giampiero
OTRS in several version starting from 3.0

Production Environment
OTRS 4.0.5 - Postgres9.3
ITSM, KIX4OTRS, FAQ,SURVEY
OS RedHat 6.4

Auth: Ldap - CAS - DB
ciotola
Znuny newbie
Posts: 35
Joined: 27 Apr 2012, 13:56
Znuny Version: 3.2.9 /3.3 / 4.0.5
Real Name: Giampiero
Company: Atos
Location: Roma - IT

Re: Add DynamicField to Dashboard

Post by ciotola »

For further info: The Due Date is right displayed in the QueueView, StatusView and CustomerTicketOverview.

any idea?
OTRS in several version starting from 3.0

Production Environment
OTRS 4.0.5 - Postgres9.3
ITSM, KIX4OTRS, FAQ,SURVEY
OS RedHat 6.4

Auth: Ldap - CAS - DB
ciotola
Znuny newbie
Posts: 35
Joined: 27 Apr 2012, 13:56
Znuny Version: 3.2.9 /3.3 / 4.0.5
Real Name: Giampiero
Company: Atos
Location: Roma - IT

[SOLVED]Re: Add DynamicField to Dashboard

Post by ciotola »

We are using KIX Add On and with theyr support we have solved the issue. The configuration we mkade is correct but the Kix Extension have a special handling for the DynamicFields that contain the "Time" term

The workaround consist to change the code in <OTRS home>/KIXDashboardExtensions/Kernel/Output/HTML/KIXDashboardTicketGeneric.pm

Old:
elsif ( $ColumnContent && ( $Column =~ /(Time)/ ) ) {
New:
elsif ( $ColumnContent && ( $Column =~ /(Time)/ ) && ( $Column !~ /^DynamicField_/) ) {


Hope in a fix in the next KixRealase

Thanks to the KIX team for the speedy help.
OTRS in several version starting from 3.0

Production Environment
OTRS 4.0.5 - Postgres9.3
ITSM, KIX4OTRS, FAQ,SURVEY
OS RedHat 6.4

Auth: Ldap - CAS - DB
Locked