Create custom Dashboard Applet

Moderator: crythias

Locked
Vince0511
Znuny newbie
Posts: 25
Joined: 21 Oct 2014, 08:53
Znuny Version: 5.0.1
Real Name: Vincent Kessels
Company: RIN
Location: Wijchen, Netherlands
Contact:

Create custom Dashboard Applet

Post by Vince0511 »

How do I create an custom dashboard applet?

Now I have NewTickets, OpenTickets, etc...
I want to create an custom block for my most important queue (thats the only filter on the block.

Thanks in advance,
Vincent
Using OTRS 5 on CentOS 7. (English / Dutch)
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Create custom Dashboard Applet

Post by reneeb »

First of all, you should check if an existing Dashboard widget is close to what you want.

Then you can try if a new config item is enough. https://github.com/OTRS/otrs/blob/rel-3 ... .xml#L5548

If that isn't enough, you should copy an existing dashboard module like https://github.com/OTRS/otrs/blob/rel-3 ... Generic.pm
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Vince0511
Znuny newbie
Posts: 25
Joined: 21 Oct 2014, 08:53
Znuny Version: 5.0.1
Real Name: Vincent Kessels
Company: RIN
Location: Wijchen, Netherlands
Contact:

Re: Create custom Dashboard Applet

Post by Vince0511 »

This is what I want to create:

+-------------------------------------------------------------------------------------------------------------+
BlueQueue (possible to minimize, not possible to close, no tickets in queue)
LightBlue Queue (subqueue of BlueQueue) place for tickets, sorted on priority / age
Darkblue Queue (subqueue of BlueQueue) place for tickets, sorted on priority / age
+-------------------------------------------------------------------------------------------------------------+

+-------------------------------------------------------------------------------------------------------------+
RedQueue (possible to minimize, not possible to close, no tickets in queue)
LightRed Queue (subqueue of RedQueue) place for tickets, sorted on priority / age
DarkRed Queue (subqueue of RedQueue) place for tickets, sorted on priority / age
+-------------------------------------------------------------------------------------------------------------+
Using OTRS 5 on CentOS 7. (English / Dutch)
Locked