Dashlet headaches

Moderator: crythias

Locked
knischan
Znuny newbie
Posts: 65
Joined: 29 Sep 2011, 05:18
Znuny Version: 3.0.11
Real Name: Ken
Company: Baltimore City Mayor's Office

Dashlet headaches

Post by knischan »

Augh, I'm pulling my hair out here. I read some instructions on dashlets. I made a "DPW.xml" in my kernel\config\files as such:

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<otrs_config version="1.0" init="Application">
    <ConfigItem Name="DashboardBackend###0600-TicketsDPW" Required="0" Valid="1">
        <Description Translatable="1">Lists open DPW tickets</Description>
        <Group>Ticket</Group>
        <SubGroup>Frontend::Agent::Dashboard</SubGroup>
        <Setting>
            <Hash>
                <Item Key="Module">Kernel::Output::HTML::DashboardTicketGeneric</Item>
                <Item Key="Title">DPW Open Tickets</Item>
                <Item Key="Description">Open tickets assigned to DPW staff</Item>
                <Item Key="Attributes">StateType=open;OwnerIDs=39;OwnerIDs=39;</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"></Item>
                <Item Key="Default">1</Item>
                <Item Key="CacheTTLLocal">0.5</Item>
            </Hash>
        </Setting>
    </ConfigItem>
</otrs_config>
Did the perl otrs.RebuildConfig.pl, restarted my IIS, then voila it appeared. Awesome. However, it shown tickets belong to everyone, not just my DPW guys. After some headaches with attributes, I found someone had posted their dashlet code to do the same thing so I figured I'd wipe mine and start fresh. Moved dpw.xml out of the OTRS file tree, rebuilt config again, restarted.. yet DPW Open Tickets is still on my Dashboard. How do I remove my dashlet?

PS, I just went to Frontend::Agent::Dashboard and it's not even listed in there anymore, but still shows up on the dash.
OTRS 3.0.11 / IIS7 / MSSQL 2005 / VMware ESX
knischan
Znuny newbie
Posts: 65
Joined: 29 Sep 2011, 05:18
Znuny Version: 3.0.11
Real Name: Ken
Company: Baltimore City Mayor's Office

Re: Dashlet headaches

Post by knischan »

Ahh nevermind. I had a sudden flash of insight - I checked ZZZAuto.pm and there it was. Removed it and all is good :)
OTRS 3.0.11 / IIS7 / MSSQL 2005 / VMware ESX
Locked