Dynamic field in MenuModule

Moderator: crythias

Post Reply
ingmar
Znuny newbie
Posts: 5
Joined: 23 Jan 2018, 19:36
Znuny Version: OTRS 6
Real Name: Ingmar

Dynamic field in MenuModule

Post by ingmar »

Hello,
We are using OTRS 6. Is there a way to add a button to AgentTicketZoom MenuModule that would update a dynamic field? I found a way to add a button, I'm not sure what link it would need.
It should show a textbox that lets the agent update the field. Currently using the "Free fields". Is there a more direct way?
Is there any source you could point me to?
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Dynamic field in MenuModule

Post by crythias »

Many available forms in TicketZoom have the ability to add Dynamic Field(s) to that form via SysConfig.

When you ask about changing a Dynamic field from a button, you may wish to consider whether you wish to do that outside an existing form related to an action. If you do that within an existing action, you can, as an example, tie in a javascript to a button in the form that does the thing you want.

If the Dynamic Field is of a certain type, say "CheckBox" then it will obey its configuration, present as it's designated, and assign the value according to the attributes of the Dynamic Field.
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
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: Dynamic field in MenuModule

Post by reneeb »

https://opar.perl-services.de/dist/Acti ... icFieldSet provides a frontend module to change the value of the field. You could write an output module that injects the form into the ticket menu (something like https://github.com/reneeb/otrs-QuickClo ... t/Close.pm)
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
ingmar
Znuny newbie
Posts: 5
Joined: 23 Jan 2018, 19:36
Znuny Version: OTRS 6
Real Name: Ingmar

Re: Dynamic field in MenuModule

Post by ingmar »

reneeb wrote:https://opar.perl-services.de/dist/Acti ... icFieldSet provides a frontend module to change the value of the field. You could write an output module that injects the form into the ticket menu (something like https://github.com/reneeb/otrs-QuickClo ... t/Close.pm)
Thank you, I will have a look into this, sounds very useful.
Post Reply