[SOLVED] Search - Customer User
Moderator: crythias
-
- Znuny newbie
- Posts: 24
- Joined: 30 Jun 2017, 17:07
- Znuny Version: 6.4
- Real Name: Aleksandar Belic
- Company: CP
[SOLVED] Search - Customer User
Hi,
Can somebody help me with customer user search, using wildcards?
I want a list of customers with a specific domain. @xxxxxx.com
Thanks,
Kind regards,
Sasha
Can somebody help me with customer user search, using wildcards?
I want a list of customers with a specific domain. @xxxxxx.com
Thanks,
Kind regards,
Sasha
Last edited by abelic on 18 Mar 2021, 23:34, edited 2 times in total.
Znuny 6.4, CentOS7, MariaDB
-
- Znuny wizard
- Posts: 381
- Joined: 20 Sep 2010, 16:54
- Znuny Version: OTRS 6 CE
- Real Name: Alexey Yusov
- Company: Radiant System Group s.r.o
- Location: Prague
- Contact:
Re: Search - Customer User
Hi,
Where you make a search? InIn which interface you are searching?
Where you make a search? InIn which interface you are searching?
Alexey Yusov
Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal
Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal
Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
-
- Znuny newbie
- Posts: 24
- Joined: 30 Jun 2017, 17:07
- Znuny Version: 6.4
- Real Name: Aleksandar Belic
- Company: CP
Re: Search - Customer User
Hi Alexey,
In "Manage Customer-Services Relations" search field.
In "Manage Customer-Services Relations" search field.
Znuny 6.4, CentOS7, MariaDB
-
- Znuny superhero
- Posts: 649
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: Search - Customer User
try
Code: Select all
*@gmail.com
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 newbie
- Posts: 24
- Joined: 30 Jun 2017, 17:07
- Znuny Version: 6.4
- Real Name: Aleksandar Belic
- Company: CP
Re: Search - Customer User
Hmm, it looks like you can't search for <xxx@xxx.xxx> even though the email address is visible on the screen. Search is possible only by first and last name. Am I right?
Znuny 6.4, CentOS7, MariaDB
-
- Administrator
- Posts: 4143
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: Search - Customer User
Hi,
It's using the field you have configured in the parameter CustomerUserSearchFields for your configured backends. If you're using the default settings the e-mail is not included. Copy the he configuration to Kernel/Config.pm and add the field to the parameter.
- Roy
It's using the field you have configured in the parameter CustomerUserSearchFields for your configured backends. If you're using the default settings the e-mail is not included. Copy the he configuration to Kernel/Config.pm and add the field to the parameter.
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Search - Customer User
Probably not recommended, but if the Customer_Users are all in the database, pop this in SQL Box:
Code: Select all
SELECT * FROM customer_user where email like "%@gmail.com"
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 newbie
- Posts: 24
- Joined: 30 Jun 2017, 17:07
- Znuny Version: 6.4
- Real Name: Aleksandar Belic
- Company: CP
Re: Search - Customer User
Hi,
I think Roy is right. We need to configure config.pm. Because it is the only right solution for our needs to easily connect the service with specific customers in the section "Manage Customer-Services Relations".
The Crythias solution gave us the best manual solution at this point.
Thank you for your help, I appreciate it.
Kind regards,
Sasha
I think Roy is right. We need to configure config.pm. Because it is the only right solution for our needs to easily connect the service with specific customers in the section "Manage Customer-Services Relations".
The Crythias solution gave us the best manual solution at this point.
Thank you for your help, I appreciate it.
Kind regards,
Sasha
Znuny 6.4, CentOS7, MariaDB
-
- Znuny superhero
- Posts: 649
- Joined: 24 Feb 2012, 03:58
- Znuny Version: LTS and Features
- Real Name: Mo Azfar
- Location: Kuala Lumpur, MY
- Contact:
Re: [SOLVED] Search - Customer User
As an additional point on roy suggestion, you can directly modify $otrs_home/Kernel/Config/Defaults.pm (not suggested as it will be overwrite upon upgrade/patch level, but should work)
The, perhaps restart webserver.
The, perhaps restart webserver.
Code: Select all
(-) CustomerUserSearchFields => [ 'login', 'first_name', 'last_name', 'customer_id' ],
(+) CustomerUserSearchFields => [ 'login', 'first_name', 'last_name', 'customer_id', 'email' ],
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
-
- Administrator
- Posts: 4143
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: [SOLVED] Search - Customer User
Sorry to interrupt.
Never, never, never modify the Defaults.pm
Always copy the required part(s) to Kernel/Config.pm
- Roy
Never, never, never modify the Defaults.pm
Always copy the required part(s) to Kernel/Config.pm
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny newbie
- Posts: 24
- Joined: 30 Jun 2017, 17:07
- Znuny Version: 6.4
- Real Name: Aleksandar Belic
- Company: CP
Re: [SOLVED] Search - Customer User
Hi,
I understood and accepted. When I have time, I will try to configure config.pm as you suggested to me in the test environment and see how it works.
Thank you!
Sasha
I understood and accepted. When I have time, I will try to configure config.pm as you suggested to me in the test environment and see how it works.
Thank you!
Sasha
Znuny 6.4, CentOS7, MariaDB