Custom Dashboard Widget funktioniert nicht

Hilfe zu OTRS Problemen aller Art
Post Reply
miramar
Znuny newbie
Posts: 33
Joined: 07 Oct 2012, 21:54
Znuny Version: 3.3.8
Real Name: Bernd Renzing

Custom Dashboard Widget funktioniert nicht

Post by miramar »

Hallo,

ich moechte für unsere externen Agenten eine Dashboard Widget implementieren, da diese keine Full Control in ihren Queues haben (move-into und create fehlt)

Hierfür habe ich folgendes XML File nach Kernel/Config/Files kopiert. (Mein erster Versuch nach Custom/Kernel/Config/Files funktionierte nicht!):

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
    <otrs_config version="1.0" init="Application">
     <ConfigItem Name="DashboardBackend###9000-Firma" Required="0" Valid="1">
            <Description Translatable="1">Parameters for the dashboard backend of the new tickets overview of the agent interface. "Limit" is the number of entries shown by default. "Group" is used to restrict the access to the plugin (e. g. Group: admin;group1;group2;). "Default" determines if the plugin is enabled by default or if the user needs to enable it manually. "CacheTTLLocal" is the cache time in minutes for the plugin.</Description>
            <Group>Ticket</Group>
            <SubGroup>Frontend::Agent::Dashboard</SubGroup>
            <Setting>
                <Hash>
                    <Item Key="Module">Kernel::Output::HTML::DashboardTicketGeneric</Item>
                    <Item Key="Title">Queue Firma</Item>
                    <Item Key="Description">Queue Firma</Item>
                    <Item Key="Attributes">QueueID=689</Item>
                    <Item Key="Filter">All</Item>
                    <Item Key="Time">Age</Item>
                    <Item Key="Limit">25</Item>
                    <Item Key="Permission">ro</Item>
                    <Item Key="Block">ContentLarge</Item>
                    <Item Key="Group">ticket_queue_Externer_Support_Firma</Item>
                    <Item Key="Default">0</Item>
                    <Item Key="CacheTTLLocal">0.5</Item>
                    <Item Key="DefaultColumns">
                        <Hash>
                            <Item Key="Age">2</Item>
                            <Item Key="Changed">1</Item>
                            <Item Key="CustomerID">1</Item>
                            <Item Key="CustomerName">2</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">2</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>
Das Widget ist sichtbar, allerdings sehe ich nicht nur Tickets aus der QueueID=689 wie in Attributes angegeben sondern alle offenen Tickets.

Gruss, Bernd.
OTRS 3.2.5 ITSM, FAQ, MyServices, RegexCheck4Cmdb and support contract available...
miramar
Znuny newbie
Posts: 33
Joined: 07 Oct 2012, 21:54
Znuny Version: 3.3.8
Real Name: Bernd Renzing

Re: Custom Dashboard Widget funktioniert nicht

Post by miramar »

Hat das noch niemand gemacht?
OTRS 3.2.5 ITSM, FAQ, MyServices, RegexCheck4Cmdb and support contract available...
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: Custom Dashboard Widget funktioniert nicht

Post by reneeb »

QueueIDs statt QueueID (beachte das zusätzliche "s")
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
Post Reply