Question in regards of custom Dashboard boxes [Solved]

Moderator: crythias

Locked
Burori
Znuny newbie
Posts: 12
Joined: 06 Sep 2011, 18:40
Znuny Version: 3.0.7

Question in regards of custom Dashboard boxes [Solved]

Post by Burori »

Hello,

Currently I am attempting to see if it is possible in adding new fields into "DashboardBackend###0120-TicketNew" using both the Web ui of the OTRS system or editing the files.

I see that to show time the command is 'Time' => 'Age',

I attempted to add in the Ticket Types into this formula using this command but so far nothing is being shown
'Types' => 'Type',

Are there further steps needed to add in Types into this Dashboard. I am fairly certain that there is a step I am missing so any insight on this would be greatly appreciated.

$Self->{'DashboardBackend'}->{'0120-TicketNew'} =
{
'Attributes' => 'StateType=new;',
'Block' => 'ContentLarge',
'CacheTTLLocal' => '0.5',
'Default' => '1',
'Description' => 'All new tickets, these tickets
have not been worked on yet',
'Filter' => 'All',
'Group' => '',
'Limit' => '10',
'Module' =>
'Kernel::Output::HTML::DashboardTicketGeneric',
'Permission' => 'ro',
'Time' => 'Age',
'Types' => 'Type',
'Title' => 'New Tickets'
};
Last edited by Burori on 01 Nov 2011, 20:52, edited 1 time in total.
OTRS 3.0.7 on Windows XP with MySQL database + Perl + Apache
Burori
Znuny newbie
Posts: 12
Joined: 06 Sep 2011, 18:40
Znuny Version: 3.0.7

Re: Question in regards of custom Dashboard boxes

Post by Burori »

Do I need to edit DashboardTicketGeneric.pm to allow the Types to show in the box?

Some insight will be greatly appreciated.
OTRS 3.0.7 on Windows XP with MySQL database + Perl + Apache
Burori
Znuny newbie
Posts: 12
Joined: 06 Sep 2011, 18:40
Znuny Version: 3.0.7

Re: Question in regards of custom Dashboard boxes

Post by Burori »

Judging by the lack of responses I can only surmise that it is not possible to add a field like the Type of a Ticket into the New Ticket Dashboard widget.
OTRS 3.0.7 on Windows XP with MySQL database + Perl + Apache
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Question in regards of custom Dashboard boxes

Post by crythias »

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
Burori
Znuny newbie
Posts: 12
Joined: 06 Sep 2011, 18:40
Znuny Version: 3.0.7

Re: Question in regards of custom Dashboard boxes

Post by Burori »

crythias wrote:Does this apply? http://forums.otrs.org/viewtopic.php?f=60&t=5156
Thank you so much Crythias. I have been spending the whole weekend in searches on this. I never realised it fell under Themes... This helped a lot!

Thank you again :)
OTRS 3.0.7 on Windows XP with MySQL database + Perl + Apache
Locked