Hi everyone,
Got a couple more questions as we try to put OTRS into production:
1) by uncommenting the line "CustomerCompanySupport => 1" in /opt/otrs/Kernel/Config/Config.pm, the CustomerID field shows up as a dropdown list at the time of customer user creation. Can we modify this dropdown list to show either the CustomerID or the customer company name (not both like the default)?
2) [viewtopic.php?f=61&p=46557] by modifying the "sub_Overview" section in /opt/otrs/Kernel/Modules/AdminCustomerCompany.pm, we can make "Customer Company Management" page run a default wildcard search, however we seem to lose the ability to search for a particular customer after that. No matter what we type into search box, the result is always the full list of customers. Can we retain both functionalities (displaying the full list and yet allows to search for a specific company)?
3) is it possible to prevent agents from modifying "My Queues" and "Email settings" in preferences (or maybe hide those 2 sections)?
Thanks!
[solved] CustomerID at the time of creating customer user.
Moderator: crythias
[solved] CustomerID at the time of creating customer user.
Last edited by nyotrs on 20 May 2013, 19:04, edited 1 time in total.
OTRS 3.2.6
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: CustomerID selection at the time of creating customer us
Probably possible in the code. It's not (as far as I know) configurable.nyotrs wrote:Can we modify this dropdown list to show either the CustomerID or the customer company name (not both like the default)?
Probably. Show your changes with respect to this and the answer might be more reasonable.nyotrs wrote:Can we retain both functionalities (displaying the full list and yet allows to search for a specific company)?
Edit Config Settings in Ticket -> Frontend::Agent::Preferencesnyotrs wrote:is it possible to prevent agents from modifying "My Queues" and "Email settings" in preferences (or maybe hide those 2 sections)?
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: CustomerID selection at the time of creating customer us
Hi Crythias,

Can you point us to where the code is for this?crythias wrote:Probably possible in the code. It's not (as far as I know) configurable.nyotrs wrote:Can we modify this dropdown list to show either the CustomerID or the customer company name (not both like the default)?
Nevermind about this. We made a mistake, the answer given by user "Joool" in the thread viewtopic.php?f=61&p=46557 worked.crythias wrote:Probably. Show your changes with respect to this and the answer might be more reasonable.nyotrs wrote:Can we retain both functionalities (displaying the full list and yet allows to search for a specific company)?
Thanks, this was easycrythias wrote:Edit Config Settings in Ticket -> Frontend::Agent::Preferencesnyotrs wrote:is it possible to prevent agents from modifying "My Queues" and "Email settings" in preferences (or maybe hide those 2 sections)?

OTRS 3.2.6
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: CustomerID selection at the time of creating customer us
Actually, it is configurable:nyotrs wrote:Can you point us to where the code is for this?
Code: Select all
$Self->{CustomerCompany} = {
#other configuration entries not shown here
CustomerCompanyListFields => [ 'customer_id', 'name' ],
#... rest of entries
};
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: CustomerID selection at the time of creating customer us
Hi Crythias,
Thanks for the quick reply again.
Am I doing something wrong?
Thanks for the quick reply again.
I just tested by changing the CustomerCompanyListFields line, but the result is the same: at the customer user creation screen, the customerID drop down list still shows both customerID and company name.crythias wrote: Actually, it is configurable:(copy/paste from Defaults.pm to Config.pm and edit.)Code: Select all
$Self->{CustomerCompany} = { #other configuration entries not shown here CustomerCompanyListFields => [ 'customer_id', 'name' ], #... rest of entries };
Code: Select all
$Self->{CustomerCompany} = {
# code omitted
CustomerCompanyListFields => [ 'customer_id' ],
# code omitted
OTRS 3.2.6
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: CustomerID selection at the time of creating customer us
Not that I know...
check out Kernel/System/CustomerCompany.pm,
sub CustomerCompanyList
This may be a cache issue, though.
check out Kernel/System/CustomerCompany.pm,
sub CustomerCompanyList
This may be a cache issue, though.
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: CustomerID selection at the time of creating customer us
Hi Crythias,
You were right on, it was a cache issue. The drop down list now correctly displays only customerID (which is what we'd like).
Thanks again!
You were right on, it was a cache issue. The drop down list now correctly displays only customerID (which is what we'd like).
Thanks again!
OTRS 3.2.6