Dynamic field shows depending on selected queue?
Moderator: crythias
-
- Znuny expert
- Posts: 215
- Joined: 18 Jun 2012, 09:24
- Znuny Version: 3.1.6
- Real Name: Craig Wellman
- Company: STÜBER SYSTEMS
Dynamic field shows depending on selected queue?
Hi all,
in an ideal world, we would like to have 5 main queues, then depending on which queue is selected, a dropdown underneath will contain only product names relevant to that queue, then underneath another dropdown with version numbers that apply to the previous product name dropdown selection.
Is this possible to achieve? I've found hints about using ACLs but nothing concrete to what I'm trying to do.
Any advice appreciated.
Many thanks!
in an ideal world, we would like to have 5 main queues, then depending on which queue is selected, a dropdown underneath will contain only product names relevant to that queue, then underneath another dropdown with version numbers that apply to the previous product name dropdown selection.
Is this possible to achieve? I've found hints about using ACLs but nothing concrete to what I'm trying to do.
Any advice appreciated.
Many thanks!
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
Firefox 14, Chrome 22
-
- Znuny expert
- Posts: 215
- Joined: 18 Jun 2012, 09:24
- Znuny Version: 3.1.6
- Real Name: Craig Wellman
- Company: STÜBER SYSTEMS
Re: Dynamic field shows depending on selected queue?
Does really no-one have an opinion on this issue? 

OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
Firefox 14, Chrome 22
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Dynamic field shows depending on selected queue?
viewtopic.php?f=60&t=11235
This only gets you the first part. If you want more, you'll probably want to seek out jquery or subservices/subqueues.
This only gets you the first part. If you want more, you'll probably want to seek out jquery or subservices/subqueues.
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
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
-
- Znuny expert
- Posts: 215
- Joined: 18 Jun 2012, 09:24
- Znuny Version: 3.1.6
- Real Name: Craig Wellman
- Company: STÜBER SYSTEMS
Re: Dynamic field shows depending on selected queue?
Could it possibly be achieved with this addon? http://www.otrs.com/en/software/otrs-he ... selection/
Again, with this aim: the customer/agent can select from say 5 queues, then a product range dropdown, and then from a version number dropdown
Again, with this aim: the customer/agent can select from say 5 queues, then a product range dropdown, and then from a version number dropdown
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
Firefox 14, Chrome 22
Re: Dynamic field shows depending on selected queue?
no, this add on is just showing services in a different style
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny expert
- Posts: 215
- Joined: 18 Jun 2012, 09:24
- Znuny Version: 3.1.6
- Real Name: Craig Wellman
- Company: STÜBER SYSTEMS
Re: Dynamic field shows depending on selected queue?
Ok going back to crythias' suggestion... I think this won't work for me because I need 2x dropdowns that depend on the selected Queue. As far as I understand, Services is just one dropdown so even if I did hack some ACL code I think it wouldn't achieve what I need.
Is what I am asking for so out of the ordinary? Please tell me if I am approaching this from the wrong angle.
Is what I am asking for so out of the ordinary? Please tell me if I am approaching this from the wrong angle.
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
Firefox 14, Chrome 22
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Dynamic field shows depending on selected queue?
It depends.. is it really that much different to provide:morecw wrote:Please tell me if I am approaching this from the wrong angle.
widget A 1.1
widget A 1.2
widget A 3.0
versus
Widget A -- (What version please?) --- What subversion? -- What service pack? What hotfix?
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
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
-
- Znuny expert
- Posts: 215
- Joined: 18 Jun 2012, 09:24
- Znuny Version: 3.1.6
- Real Name: Craig Wellman
- Company: STÜBER SYSTEMS
Re: Dynamic field shows depending on selected queue?
In a way yes, because if there is no filtering going on then there are too many irrelevant options available in the drop downs.It depends.. is it really that much different to provide:
widget A 1.1
widget A 1.2
widget A 3.0
Let me please reiterate what I'm trying to achieve. Example:
(Customer first selects one of 3 Services.. Wish, Error, Question)
Widget A 1.1 = 5 queues that represent our main product ranges: A selection is made here first
Widget A 1.2 = a dynamic dropdown, a range of 25 product flavours that filters out only what is relevant to the above selection so that maybe only 1-10 items are shown.
OR perhaps a better way could be if more dynamic fields are created and linked to specific queues, therefore only the appropriate dynamic dropdown appears based on queue selection.
Widget A 1.3 = a dynamic dropdown, a range of software versions (e.g 1.5.19, 1.6.0) that only relate to the selection made in A 1.2.
I wish it could be possible to go to somewhere in Admin like..."Dynamic Fields - Queues" and then "Dynamic Fields - Dynamic Fields" in order to create these links somehow.
What we do instead is this:
(Customer first selects one of 3 Services.. Wish, Error, Question)
Widget A1.1 Select the Product range+flavour from a list of 25 queues/subqueues
Widget A1.2 in a dynamic text field, type in the version number e.g 1.5.19
- it's ok but it's messy and requires too many queues!
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
Firefox 14, Chrome 22
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Dynamic field shows depending on selected queue?
You may want to use services, subservices and acl.
Basically, code it so if no service is selected, the major services are selectable. If the major service is selected, the possible services are the service::subservice.
OK, maybe that won't necessarily work, but on the other hand, it could with Javascript.
The key, though, is how much work do you want or need a customer do to give you the info? IMO, select boxes are the last best choice for this if the selection list is huge.
That said, there is nothing preventing you from coding the list in javascript/jQuery and handling it client side.
Basically, code it so if no service is selected, the major services are selectable. If the major service is selected, the possible services are the service::subservice.
OK, maybe that won't necessarily work, but on the other hand, it could with Javascript.
The key, though, is how much work do you want or need a customer do to give you the info? IMO, select boxes are the last best choice for this if the selection list is huge.
That said, there is nothing preventing you from coding the list in javascript/jQuery and handling it client side.
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
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
-
- Znuny expert
- Posts: 215
- Joined: 18 Jun 2012, 09:24
- Znuny Version: 3.1.6
- Real Name: Craig Wellman
- Company: STÜBER SYSTEMS
Re: Dynamic field shows depending on selected queue?
OTRS 3.1.6, Windows 2008 with MySQL database
Firefox 14, Chrome 22
Firefox 14, Chrome 22