Browser AutoComplete in New Ticket

Moderator: crythias

Locked
mcampbell
Znuny newbie
Posts: 16
Joined: 01 Feb 2013, 23:19
Znuny Version: 3.1.11 & 4.0.5
Real Name: Mark Campbell

Browser AutoComplete in New Ticket

Post by mcampbell »

I am trying to figure out how to enable the individual browsers to autocomplete the To customer field. I couldn't find anything that looked relevant in a search of this forum. And I tried something I saw elsewhere on the web, but that generated undesirable errors when trying to submit tickets.

Any ideas?

Thanks.
Current system: OTRS 3.1.11 on CentOS 6.3 Linux with MySQL database 5.1.61 in an ESXi 5.0 VM.
dev/future production system: OTRS 4.0.5 on CentOS 7.0.1406 with MariaDB database 5.5.41-2 in an ESXi 5.1 VM.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Browser AutoComplete in New Ticket

Post by jojo »

Autocompletion of the To in the Agent Interface is not browser relatet as it is done by AJAX from the customer database
"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
mcampbell
Znuny newbie
Posts: 16
Joined: 01 Feb 2013, 23:19
Znuny Version: 3.1.11 & 4.0.5
Real Name: Mark Campbell

Re: Browser AutoComplete in New Ticket

Post by mcampbell »

I'm aware that by default the autocomplete feature in OTRS accesses its own internal database via the AJAX code. But for a variety of reasons, I am not using this feature at this time. My question is about how to enable the browsers to have autocomplete (since they are currently disabled from allowing it). As per the link I posted in my OP, it used to be possible in older versions to dig around in the code and enable this, but apparently not in 3.1.x
Current system: OTRS 3.1.11 on CentOS 6.3 Linux with MySQL database 5.1.61 in an ESXi 5.0 VM.
dev/future production system: OTRS 4.0.5 on CentOS 7.0.1406 with MariaDB database 5.5.41-2 in an ESXi 5.1 VM.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Browser AutoComplete in New Ticket

Post by crythias »

mcampbell wrote:I'm aware that by default the autocomplete feature in OTRS accesses its own internal database via the AJAX code. But for a variety of reasons, I am not using this feature at this time.
The autocomplete is almost always a javascript ajax component that queries *something* from a server (or sometimes a js array)
mcampbell wrote:My question is about how to enable the browsers to have autocomplete (since they are currently disabled from allowing it)
Look at the dtl that references the screen they're not allowed to autocomplete from.
Look at the code surrounding the field they're going to auto complete.
change the code to be autocomplete from your data source OR
just remove the ajax component and let the browser try to remember.
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
mcampbell
Znuny newbie
Posts: 16
Joined: 01 Feb 2013, 23:19
Znuny Version: 3.1.11 & 4.0.5
Real Name: Mark Campbell

Re: Browser AutoComplete in New Ticket

Post by mcampbell »

crythias wrote:Look at the dtl that references the screen they're not allowed to autocomplete from.
Look at the code surrounding the field they're going to auto complete.
change the code to be autocomplete from your data source OR
just remove the ajax component and let the browser try to remember.
Could you be a little more specific? I'm only really understanding what you're saying on the highest of levels, which kinda mirrors what I see in the link I posted up top for the older version of OTRS. The newer one is apparently different, because trying to follow the directions reveals "missing" files, so I can't complete what it says to do. Because it's different, I don't really know what I'm looking for now, because I haven't seen anyone post anything for newer versions of OTRS.
Current system: OTRS 3.1.11 on CentOS 6.3 Linux with MySQL database 5.1.61 in an ESXi 5.0 VM.
dev/future production system: OTRS 4.0.5 on CentOS 7.0.1406 with MariaDB database 5.5.41-2 in an ESXi 5.1 VM.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Browser AutoComplete in New Ticket

Post by crythias »

mcampbell wrote: My question is about how to enable the browsers to have autocomplete (since they are currently disabled from allowing it).
crythias wrote:Look at the dtl that references the screen they're not allowed to autocomplete from.
What screen are we talking about? It has a name/Action in the URL. That URL has a related .dtl file in Kernel/Output/HTML/Standard/[action].dtl
crythias wrote:Look at the code surrounding the field they're going to auto complete.
Edit the file from above and search for the field that you want the browsers to autocomplete. It has javascript surrounding it.
crythias wrote:change the code to be autocomplete from your data source OR
change the code to reflect what you want to happen. By default, you do nothing, and let it autocomplete from the customer back end like OTRS is already programmed to do.
mcampbell wrote:I'm aware that by default the autocomplete feature in OTRS accesses its own internal database via the AJAX code. But for a variety of reasons, I am not using this feature at this time.
crythias wrote:just remove the ajax component and let the browser try to remember.
delete all ajax code surrounding the field. Just make it an input type=text. If you don't understand this part, stop. It's probably not going to be how you want it.
mcampbell wrote:because I haven't seen anyone post anything for newer versions of OTRS.
your sig says version 3.1 Most things you'll find on this forum are related to 3.0-3.2. 3.3 is newer version and doesn't apply to you. Unless it does and then you'd say, "I'm using version x" and "I saw this link (which?) and it relates to version y."
mcampbell wrote:I don't really know what I'm looking for now
Me neither.
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
Locked