Dynamic Fields

Moderator: crythias

Post Reply
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Dynamic Fields

Post by gusmaer »

Hello I need to create a dynamic field with 3 options Level 1, Level 2 and Level 3.
This dynamic field should be selected in the ticket response window in the same place where the response time is recorded.

otrs 5.0.29
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 Fields

Post by reneeb »

So what's your problem? Can you create the dynamic field? Do you know how to activate a dynamic field for a dialog? What is the expected outcome and what is the output now?
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
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Re: Dynamic Fields

Post by gusmaer »

Hello, I could already create the dynamic field.
The issue is that I do not know how to make it appear in the response window of the ticket, where it is selected if the ticket is closed and the time invested in the case
Reedu
Znuny newbie
Posts: 29
Joined: 11 Mar 2013, 15:08
Znuny Version: Znuny 6.1.2
Real Name: Adam

Re: Dynamic Fields

Post by Reedu »

Look in System Configuration at those two:

Ticket::Frontend::AgentTicketCompose
Ticket::Frontend::AgentTicketClose
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Re: Dynamic Fields

Post by gusmaer »

thanks, it worked properly
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Re: Dynamic Fields

Post by gusmaer »

Reedu wrote: 07 Oct 2021, 16:26 Look in System Configuration at those two:

Ticket::Frontend::AgentTicketCompose
Ticket::Frontend::AgentTicketClose
Hello Reedu, I contact you again on the subject of dynamic fields.
The directions he gave me worked fine. Thanks

How can I do so that this dynamic field can be listed and seen in the Dashboard of the open tickets.
The field appears in the list of fields available to select it in the open tickets dashboard, but it does not show me any value.

Thanks
Reedu
Znuny newbie
Posts: 29
Joined: 11 Mar 2013, 15:08
Znuny Version: Znuny 6.1.2
Real Name: Adam

Re: Dynamic Fields

Post by Reedu »

I'm sorry for the lack of response. Too much work.
I think you'd added not your dynamic field.
For example - if your dynamic filed name is: MyTestField, then in Dashboard configuration you should add line like:
DynamicField_MyTestField.

If you added MyTestField - then it's not existing in the ticket context.
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Re: Dynamic Fields

Post by gusmaer »

Hello Reedu, I understand the situation ...

Add the field in "Ticket → Frontend :: Agent :: Dashboard" and in "AgentCustomerInformationCenter :: Backend ### 0130-CIC-TicketOpen".
After this the field is visible in the open ticket section, but it does not show any data, the column is simply empty.
Last edited by gusmaer on 17 Nov 2021, 22:12, edited 1 time in total.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Dynamic Fields

Post by root »

Hi,

Please show us:
- a screenshot of the dynamic field configuration
- a screenshot of the system configuration for 0130-CIC-TicketOpen

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Re: Dynamic Fields

Post by gusmaer »

Hi Roy.
Sending screenshot
Dynamic Fields.png
130_ticketOpen_1.png
130_ticketOpen_2.png
You do not have the required permissions to view the files attached to this post.
gusmaer
Znuny newbie
Posts: 44
Joined: 24 Apr 2018, 20:44
Znuny Version: 5.0.26

Re: Dynamic Fields

Post by gusmaer »

Main panel Open_Ticket.png
You do not have the required permissions to view the files attached to this post.
root
Administrator
Posts: 3934
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Dynamic Fields

Post by root »

Hi,

It's like Reedu already said: you have to use DynamicField_MyTestField if the field's name is MyTestField. You skipped DynamicField_

You should use https://github.com/znuny/Znuny4OTRS-Adv ... amicFields

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
Post Reply