Hi there,
I was searching and didn't find any hint on how to put the same dynamic field in a ticket to appear more than once? Is it possible to make an optional adding of 1 or more dynamic fields of same type(key/value) in ticket/process ? Like you can do it in CMDB with optional adding of the fields (see attached picture)
Thank you in advance,
Dario
Multiple same dynamic fields in ticket/process
Moderator: crythias
-
- Znuny newbie
- Posts: 3
- Joined: 17 Dec 2019, 13:06
- Znuny Version: 6.0.24
- Real Name: Lepre chaun
Multiple same dynamic fields in ticket/process
You do not have the required permissions to view the files attached to this post.
-
- Znuny superhero
- Posts: 658
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Multiple same dynamic fields in ticket/process
Not possible at the moment.
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
-
- Znuny superhero
- Posts: 914
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Multiple same dynamic fields in ticket/process
Hey,
I'm 90 % sure that it won't be possible (without custom changes) in v 7 or 8 since the key is/and should be unique.
Why can't you just add a 2 to the end of the second key?
— Emin
Professional Znuny and OTRS services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny newbie
- Posts: 3
- Joined: 17 Dec 2019, 13:06
- Znuny Version: 6.0.24
- Real Name: Lepre chaun
Re: Multiple same dynamic fields in ticket/process
Hi Emin,
In my case I want to make a process ticket with 1 or more multiple "Vendor" dynamic fields (with sub fields Vendor1::Solution1, Vendor1::Solution2) which later I can add 1,2,3 or more vendors fields in my process ticket instead of opening 1 process ticket per vendor.
-
- Znuny superhero
- Posts: 914
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Multiple same dynamic fields in ticket/process
That can be achieved with a multiselect field (read more).
Just create a field called 'Vendor', enable the tree view, and put something in that looks like this:
Key - value
Vendor1 - Vendor 1, Basic Services
Vendor1::SolutionXY - Vendor 1, Solution XY
Vendor2 - Vendor 2, Basic Services
Vendor2::SolutionXY - Vendor 2, SolutionXY
You could also make the parent node unselectable and illustrate it like
Vendor1 - Vendor 1
Vendor1::Service1 - Service XY
Vendor1::Service2 - Service YX
...
but that'd require some additional ACLs or JavaScript changes if you're planning to add more logic.
— Emin
Just create a field called 'Vendor', enable the tree view, and put something in that looks like this:
Key - value
Vendor1 - Vendor 1, Basic Services
Vendor1::SolutionXY - Vendor 1, Solution XY
Vendor2 - Vendor 2, Basic Services
Vendor2::SolutionXY - Vendor 2, SolutionXY
You could also make the parent node unselectable and illustrate it like
Vendor1 - Vendor 1
Vendor1::Service1 - Service XY
Vendor1::Service2 - Service YX
...
but that'd require some additional ACLs or JavaScript changes if you're planning to add more logic.
— Emin
Professional Znuny and OTRS services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
-
- Znuny superhero
- Posts: 658
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Multiple same dynamic fields in ticket/process
How about allow user to select the number of vendor first?
If number is 3, show activity dialog with 3 vendor fields,
If number is 4, show another activity dialog that have 4 vendor fields, and so on..
But of course, this is not so dynamic as per config item field..
And also has to be controlled by ACL
If number is 3, show activity dialog with 3 vendor fields,
If number is 4, show another activity dialog that have 4 vendor fields, and so on..
But of course, this is not so dynamic as per config item field..
And also has to be controlled by ACL
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This
Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English