Process Management - Dynamic, Dynamic Fields on Activity Dialog
Moderator: crythias
-
- Znuny newbie
- Posts: 24
- Joined: 24 Feb 2017, 18:37
- Znuny Version: 5.0.16
- Real Name: Tom Stiffler
- Company: Concurrent Technology Corp.
Process Management - Dynamic, Dynamic Fields on Activity Dialog
Thanks in advance for any help on this topic. I am a programmer at heart so I like to have things work as simply as possible. What I am trying to do is have an activity dialog that asks what type of request is needed. Either New User, Add Privileges, or Remove Privileges. Once that question is answered I would like other fields to show in the dialog, based on what option the user selected. To be clear, for each option in the first question, different subsequent questions would be asked. I realize I could just have the process go to another activity, but I would like to keep everything on one screen. Any tips would be greatly appreciated.
-
- Znuny expert
- Posts: 167
- Joined: 26 Nov 2014, 20:34
- Znuny Version: 6.3.4
- Real Name: Samuel Casimiro
- Company: Câmara dos Deputados
- Contact:
Re: Process Management - Dynamic, Dynamic Fields on Activity Dialog
Hi,
There is no way to do so with OTRS free without some extra programming.
You may define a single activity dialog and stick with JQuery to hide/show some fields.
Remember to configure OTRS to load all your relevant javascript.
There is no way to do so with OTRS free without some extra programming.
You may define a single activity dialog and stick with JQuery to hide/show some fields.
Remember to configure OTRS to load all your relevant javascript.
Samuel
Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
-
- Znuny newbie
- Posts: 24
- Joined: 24 Feb 2017, 18:37
- Znuny Version: 5.0.16
- Real Name: Tom Stiffler
- Company: Concurrent Technology Corp.
Re: Process Management - Dynamic, Dynamic Fields on Activity Dialog
We haven't done any custom development like that in our system. I am familiar with javascript, but I don't know where to put it. Could you point me to some forums or posts that discuss how to get started with that?
-
- Znuny expert
- Posts: 167
- Joined: 26 Nov 2014, 20:34
- Znuny Version: 6.3.4
- Real Name: Samuel Casimiro
- Company: Câmara dos Deputados
- Contact:
Re: Process Management - Dynamic, Dynamic Fields on Activity Dialog
I didn't find a easy topic about that. Maybe this one may be of help:
viewtopic.php?f=60&t=24116
What you have to do:
1. Create a javascript file with the necessary code to do what you want (suggest use jquery).
2. Save it under var/httpd/htdocs/js/thirdparty... (suggest create a folder for you own scripts)
3. Config OTRS to load it using the proper sysconfig (ex.: Frontend::Module###AgentTicketPhone under Frontend::Agent::ModuleRegistration).
4. Follow this example (thirdparty/myFolder/myJavascriptFile.js).
5. Sometimes is good rebuild config and restart apache.
6. Test it!
viewtopic.php?f=60&t=24116
What you have to do:
1. Create a javascript file with the necessary code to do what you want (suggest use jquery).
2. Save it under var/httpd/htdocs/js/thirdparty... (suggest create a folder for you own scripts)
3. Config OTRS to load it using the proper sysconfig (ex.: Frontend::Module###AgentTicketPhone under Frontend::Agent::ModuleRegistration).
4. Follow this example (thirdparty/myFolder/myJavascriptFile.js).
5. Sometimes is good rebuild config and restart apache.
6. Test it!
Samuel
Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000
Znuny 6.3.4 | OTRS 5.0.17
OS: Debian 11 | CentOS 6.5
Database: Postgres | Oracle 12.1
Number of agents: 450 | Number of customers: 20000 | Number of CIs: 30000