New Custom Widget on Agent Dashboard

Moderator: crythias

Post Reply
bgone
Znuny newbie
Posts: 32
Joined: 26 Oct 2010, 10:19
Znuny Version: 6.0.19

New Custom Widget on Agent Dashboard

Post by bgone »

Hi All,

follow this link https://blog.otrs.com/2010/09/26/keep-a ... customers/, I created new custom widget for front agent dashboard but it does not show.
Please advise me how to solve it.
My custom widget below:
<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Application">
<ConfigItem Name="DashboardBackend###1800-TicketPendingContract" Required="0" Valid="1">
<Description Lang="en">Parameters for the dashboard backend 1. ...</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Dashboard</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::DashboardTicketGeneric</Item>
<Item Key="Title">Tickets Pending Update/Provide Document</Item>
<Item Key="Description">Tickets which need to be updated/Provided Contract!</Item>
<Item Key="Attributes">States=Pending Contracts;StateType=pending reminder;SortBy=PendingTime;OrderBy=Down</Item>
<Item Key="Filter">Locked</Item>
<Item Key="Time">Age</Item>
<Item Key="Limit">25</Item>
<Item Key="Permission">rw</Item>
<Item Key="Block">ContentLarge</Item>
<Item Key="Group"></Item>
<Item Key="Default">1</Item>
<Item Key="CacheTTLLocal">0.5</Item>
<Item Key="DefaultColumns">
<Hash>
<Item Key="Age">2</Item>
<Item Key="Changed">1</Item>
<Item Key="Created">1</Item>
<Item Key="CustomerCompanyName">1</Item>
<Item Key="CustomerID">1</Item>
<Item Key="CustomerName">1</Item>
<Item Key="CustomerUserID">1</Item>
<Item Key="EscalationResponseTime">1</Item>
<Item Key="EscalationSolutionTime">1</Item>
<Item Key="EscalationTime">1</Item>
<Item Key="EscalationUpdateTime">1</Item>
<Item Key="TicketNumber">2</Item>
<Item Key="Lock">1</Item>
<Item Key="Owner">1</Item>
<Item Key="PendingTime">1</Item>
<Item Key="Queue">1</Item>
<Item Key="Responsible">1</Item>
<Item Key="Priority">1</Item>
<Item Key="Service">1</Item>
<Item Key="State">1</Item>
<Item Key="SLA">1</Item>
<Item Key="Title">2</Item>
<Item Key="Type">1</Item>
</Hash>
</Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
Regards,
Bgone
zzz
Znuny superhero
Posts: 888
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: New Custom Widget on Agent Dashboard

Post by zzz »

Hello Bgone,

try:
<Item Key="Module">Kernel::Output::HTML::Dashboard::TicketGeneric</Item>
Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
bgone
Znuny newbie
Posts: 32
Joined: 26 Oct 2010, 10:19
Znuny Version: 6.0.19

Re: New Custom Widget on Agent Dashboard

Post by bgone »

Hi Emin,

I did but no luck, you can see the screenshot of sysconfig
zzz wrote: 21 Aug 2018, 09:04 Hello Bgone,

try:
<Item Key="Module">Kernel::Output::HTML::Dashboard::TicketGeneric</Item>
Best regards
Emin
Image
zzz
Znuny superhero
Posts: 888
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: New Custom Widget on Agent Dashboard

Post by zzz »

Hello Bgone,

check the webserver log, delete the cache, rebuild the config, and double check that the widget is enabled in the dashboard settings.

Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
bgone
Znuny newbie
Posts: 32
Joined: 26 Oct 2010, 10:19
Znuny Version: 6.0.19

Re: New Custom Widget on Agent Dashboard

Post by bgone »

zzz wrote: 21 Aug 2018, 11:38 Hello Bgone,

check the webserver log, delete the cache, rebuild the config, and double check that the widget is enabled in the dashboard settings.

Best regards
Emin
Hi Emin,

Thank you so much, now it work :D
- before I rebuild config then delete the cache :(
- now I delete the cache then rebuild config as your suggestion 8)
Post Reply