Dependency field
Moderator: crythias
Dependency field
Hi,
I have install open source otrs in my system, Am new to otrs system and am trying to add dependency field for customer panel as like service, Anyone can help me to do that?
I have install open source otrs in my system, Am new to otrs system and am trying to add dependency field for customer panel as like service, Anyone can help me to do that?
Re: Dependency field
Read the admin manual (doc.otrs.org)
"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
Re: Dependency field
Hi Jojo,
I have looked in Admin Manual, there is only dynamic field, but there is no manual for Dependency field,
I have looked in Admin Manual, there is only dynamic field, but there is no manual for Dependency field,
-
- Znuny wizard
- Posts: 392
- Joined: 30 Dec 2010, 14:35
- Znuny Version: 6.0.x and 5.0.x
- Real Name: Giulio Soleni
- Company: IKS srl
Re: Dependency field
Hello,
... what do you mean by "dependency fields"?
If you need to configure some kind of dependency between dynamic fields maybe you can take a look to this thread: viewtopic.php?f=62&t=26241
HTH
... what do you mean by "dependency fields"?
If you need to configure some kind of dependency between dynamic fields maybe you can take a look to this thread: viewtopic.php?f=62&t=26241
HTH
OTRS 6.0.x on CentOS 7.x with MariaDB 10.2.x database connected to an Active Directory for Agents and Customers.
ITSM and FAQ modules installed.
ITSM and FAQ modules installed.
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Dependency field
You'll either need add-ons, development (as Giulio mentioned) or ACLs (if the dependency is static) to do that.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: Dependency field
Hi Giulio Soleni,
Ya that one will work for me, but where do i need to modify that code,
Ya that one will work for me, but where do i need to modify that code,
Re: Dependency field
use ACLs
"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 wizard
- Posts: 392
- Joined: 30 Dec 2010, 14:35
- Znuny Version: 6.0.x and 5.0.x
- Real Name: Giulio Soleni
- Company: IKS srl
Re: Dependency field
You should use it on the template (dtl files) of your interest.dvhelp wrote:Hi Giulio Soleni,
Ya that one will work for me, but where do i need to modify that code,
Please, take a look also to this thread: viewtopic.php?f=62&t=26090 (which is linked by my previous reference in turn).
But I agree with RStraub and jojo that if you are able to build up some ACLs for your purposes, instead of editing the code, that would be a better solution.
EDIT: just take care about what crythias said at the end of the cited thread:
crythias wrote:ACL determines what's going to be allowed/displayed in a visible field. It does not determine whether the field displays.
OTRS 6.0.x on CentOS 7.x with MariaDB 10.2.x database connected to an Active Directory for Agents and Customers.
ITSM and FAQ modules installed.
ITSM and FAQ modules installed.
Re: Dependency field
Hi Giulio Soleni,
Ok, ACl shoud be done in coding or through UI which is in admin settings, I tried with Ui which is in admin setting, but that didnt work out for me
Ok, ACl shoud be done in coding or through UI which is in admin settings, I tried with Ui which is in admin setting, but that didnt work out for me
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Dependency field
Post the example you created and tell us what dependency you want to achieve.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Re: Dependency field
Eg:
Service: Distributor1
Reseller1: HDFC, SBI
Service: Distributor2
Reseller2: ICICI, IOB
Now the customer1 is logging to raise the ticket, if customer1 logsin, service field should display only Distributor1, that i can manage by selecting the service for the customer, and if service (Distributor1) selected, only Reseller1 filed ( Dynamic field which i created) should display, should not display Reseller2 field.
Same for customer2, if customer2 logsin to raise the ticket, only Distributor2 service can see and if Distributor2 service selects only Reseller2 Dynamic filed should display and should not display Reseller2.
Service: Distributor1
Reseller1: HDFC, SBI
Service: Distributor2
Reseller2: ICICI, IOB
Now the customer1 is logging to raise the ticket, if customer1 logsin, service field should display only Distributor1, that i can manage by selecting the service for the customer, and if service (Distributor1) selected, only Reseller1 filed ( Dynamic field which i created) should display, should not display Reseller2 field.
Same for customer2, if customer2 logsin to raise the ticket, only Distributor2 service can see and if Distributor2 service selects only Reseller2 Dynamic filed should display and should not display Reseller2.
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Dependency field
It would be easier and more manageable to use ACL to display appropriate data in one field than to have multiple identical types of fields. What this means is: Reseller field should have all data, filtered by ACL.Same for customer2, if customer2 logsin to raise the ticket, only Distributor2 service can see and if Distributor2 service selects only Reseller2 Dynamic filed should display and should not display Reseller2.
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
Re: Dependency field
Hi,
Oh... Good thats fine, but I tried with ACL (UI, goes to Admin setting and select ACL) i doesnt work out for me, I think I dont know how to configure ACL,
Can you give me some example, that would be a great help for me.
Oh... Good thats fine, but I tried with ACL (UI, goes to Admin setting and select ACL) i doesnt work out for me, I think I dont know how to configure ACL,
Can you give me some example, that would be a great help for me.
Re: Dependency field
"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