This was very useful in starting me on the road to creating my own Dashboard Dashlets.
I'm having a devil of a time getting my Dashlets to show the data I want them to show...
Here's one example of my settings:
Code: Select all
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::DashboardTicketGeneric</Item>
<Item Key="Title">My Custom Ticket View</Item>
<Item Key="Description">My Custom Ticket View of tickets which need to be answered!</Item>
<Item Key="Attributes">QueueID=38;</Item>
<Item Key="Filter">All</Item>
<Item Key="Time">Age</Item>
<Item Key="Limit">25</Item>
<Item Key="Permission">rw</Item>
<Item Key="Block">ContentLarge</Item>
<Item Key="Group">GroupB</Item>
<Item Key="Default">1</Item>
<Item Key="CacheTTLLocal">0.5</Item>
</Hash>
</Setting>
How can I filter my dashlet to only show the items in one queue?
Second example:
Code: Select all
<Setting>
<Hash>
<Item Key="Module">Kernel::Output::HTML::DashboardTicketGeneric</Item>
<Item Key="Title">IT Department Tickets</Item>
<Item Key="Description">IT Department Tickets which need to be answered!</Item>
<Item Key="Attributes">Queue='[Inbox]';StateType=new;StateType=open;To=%support@example.com%;ContentSearch=AND;</Item>
<Item Key="Filter">All</Item>
<Item Key="Time">Age</Item>
<Item Key="Limit">25</Item>
<Item Key="Permission">rw</Item>
<Item Key="Block">ContentLarge</Item>
<Item Key="Group">users</Item>
<Item Key="Default">1</Item>
<Item Key="CacheTTLLocal">0.5</Item>
</Hash>
</Setting>
Any help would be gratefully appreciated.