Show hide dynamic fields in AgentTicketPhone

Moderator: crythias

Locked
ndhvu275
Znuny advanced
Posts: 139
Joined: 06 Nov 2012, 09:02
Znuny Version: 3.x, 4.x and 5.x
Real Name: Vu Nguyen
Company: INFOdation
Location: Netherlands
Contact:

Show hide dynamic fields in AgentTicketPhone

Post by ndhvu275 »

Hi there,

How can I show/hide some dynamic fields in AgentTicketPhone screen base on selecting a queue. I'm now thinking about ACL able to do, I wrote ACL in my config file like this:

Code: Select all

#ACL
	$Self->{TicketAcl}->{'ACL-Test-1'} = {
        # match properties
        Properties => {
            # current ticket match properties
            Ticket => {
                Queue => ['Raw'],                
            }
        },
        # return possible options (white list)
        Possible => {
            # possible ticket options (white list)
            From => {
                TestACL => 1,  #TestACL is a dynamic field
            },
        },
    };
But could not work, please show me above code how was wrong? How to correct?

Thanks in adv

Vu Nguyen
OTRS 3.x, 4.x on CentOS/Windows
MySQL database
External customer backend with MySQL, MSSQL
Customization
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Show hide dynamic fields in AgentTicketPhone

Post by crythias »

OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
ndhvu275
Znuny advanced
Posts: 139
Joined: 06 Nov 2012, 09:02
Znuny Version: 3.x, 4.x and 5.x
Real Name: Vu Nguyen
Company: INFOdation
Location: Netherlands
Contact:

Re: Show hide dynamic fields in AgentTicketPhone

Post by ndhvu275 »

Thanks a lot,

I used to read this post before, but so difficult to mantain for this way. For exmaple will be override after upgrade
I read the news on OTRS site, there is feature add on make visible/invisible base on ACL, but seem I must buy for using :(

Thanks

Vu Nguyen
OTRS 3.x, 4.x on CentOS/Windows
MySQL database
External customer backend with MySQL, MSSQL
Customization
Locked