Dynamic Fields: Nested menu possible?

Moderator: crythias

Locked
jnelson
Znuny newbie
Posts: 72
Joined: 18 Jul 2014, 14:40
Znuny Version: 5.0.4
Real Name: Jerry Nelson

Dynamic Fields: Nested menu possible?

Post by jnelson »

Hello all,

I have a fairly large group of selections in one drop down menu. It's currently 51 and I need to add 18 more right now with 100's more possible in the future.

My question is this: Is there any way to make the drop downs nested?

Something like this:

Code: Select all

Customer A	CA Selection 1
	          CA Selection 2
Customer B	CB Selection 1
	          CB Selection 2
	          CB Selection 3

TIA!
OTRS 5 on CentOS 7.1
jnelson
Znuny newbie
Posts: 72
Joined: 18 Jul 2014, 14:40
Znuny Version: 5.0.4
Real Name: Jerry Nelson

Re: Dynamic Fields: Nested menu possible?

Post by jnelson »

Let me expand on this a bit. What I'd like to see is if I can select the menu, mouse over Customer A from the first menu adn then have it display an additional menu for the selections for that customer.

Thanks
OTRS 5 on CentOS 7.1
wurzel
Znuny guru
Posts: 3272
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Dynamic Fields: Nested menu possible?

Post by wurzel »

Hi,

try for key and value

CustomerA
CustomerA::Sub1
CustomerA::Sub2
CustomerB
CustomerB::Sub1
CustomerB::Sub2

you need OTRS5 + tree view enabled on the dynamic field. I hope, this helps.

my recommendation would be the dynamic field database (external source) what is part of OTRS Business Solution. This is in many cases easier to maintain.

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
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: Nested menu possible?

Post by reneeb »

You could use ACLs. But that means that you need to create an ACL for each customer. That way you can define "When customer A is chosen, display only values X, Y and Z in the dynamic field dropdown".

Or you could use KIX4OTRS (or KIX) - https://www.cape-it.de/en/products/serv ... rsion.html - which has depending dynamic fields.
wurzel wrote:my recommendation would be the dynamic field database (external source) what is part of OTRS Business Solution. This is in many cases easier to maintain.
There is a free addon for that as well: http://opar.perl-services.de/dist/DynamicFieldRemoteDB
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
jnelson
Znuny newbie
Posts: 72
Joined: 18 Jul 2014, 14:40
Znuny Version: 5.0.4
Real Name: Jerry Nelson

Re: Dynamic Fields: Nested menu possible?

Post by jnelson »

Perfect!! Thanks so much!
OTRS 5 on CentOS 7.1
wurzel
Znuny guru
Posts: 3272
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Dynamic Fields: Nested menu possible?

Post by wurzel »

Hi,
reneeb wrote:You could use ACLs. But that means that you need to create an ACL for each customer. That way you can define "When customer A is chosen, display only values X, Y and Z in the dynamic field dropdown".

Or you could use KIX4OTRS (or KIX) - https://www.cape-it.de/en/products/serv ... rsion.html - which has depending dynamic fields.
:-) I am using the OTRS Business Solution with similar Add On and it works fine. For now I do not know the Kix or other (free) modules.

Florian
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
Locked