I would like to create a custom dashlet to show tickets where the logged in agent or the dummy user mentioned above is the responsible.
I stumbled upon this http://blog.otrs.org/2010/09/26/keep-an ... customers/. Although the thread is old, I found it very useful. It mentions
the Dashlets are just a ticket search. If you have a look at the Attributes of the Dashlet “Reminder Tickets” – <Item Key=”Attributes”>TicketPendingTimeOlderMinutes=1;StateType=pending reminder;SortBy=PendingTime;OrderBy=Down; </Item> – you get an impression what could be possible.
It also gives an example of Config.xml
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Application">
<ConfigItem Name="DashboardBackend###0600-TicketCustomerABC" Required="0" Valid="1">
<Description Lang="en">Parameters for the dashboard backend. ...</Description>
<Description Lang="de">Parameter für das Dashboard Backend. ...</Description>
<Group>Ticket</Group>
<SubGroup>Frontend::Agent::Dashboard</SubGroup>
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::DashboardTicketGeneric</Item>
<Item Key="Title">Tickets for Customer ABC</Item>
<Item Key="Description">All tickets for customer ABC</Item>
<Item Key="Attributes">CustomerID=foobar.inc;StateType=open;StateType=new;</Item>
<Item Key="Filter">All</Item>
<Item Key="Time">Age</Item>
<Item Key="Limit">10</Item>
<Item Key="Permission">rw</Item>
<Item Key="Block">ContentLarge</Item>
<Item Key="Group">G_CustomerABC</Item>
<Item Key="Default">1</Item>
<Item Key="CacheTTLLocal">5</Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>