Where to find the tables for Generic Agent and its code?

English! place to talk about development, programming and coding
Post Reply
hkais
Znuny expert
Posts: 280
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Where to find the tables for Generic Agent and its code?

Post by hkais »

Hi there,

searching for the generic agent tables or store and could not find it?
What is the table name and where are the generic agent data located?

Also thinking of improving the GA with more user friendly options. Where can I find the code (HTML, CSS and perl) of the GA?

best wishes
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
zzz
Znuny superhero
Posts: 888
Joined: 15 Dec 2016, 15:13
Znuny Version: All
Real Name: Emin
Company: Efflux GmbH
Contact:

Re: Where to find the tables for Generic Agent and its code?

Post by zzz »

Hey,

There are multiple files you'd have to edit for that.

1. The template: The max lengths are hard-coded and need to be changed starting here.
2. The module: There are multiple back end checks that ensure that no hijacking is happening. These lines are starting here.
3. The database can only handle up to 200 characters. You have to alter the table ´generic_agent_job´ and change the column length for ´job_value´.

This is only the theory and not tested by me. You should always work in a dev environment first.

Best regards
Emin
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/

Free and premium add-ons: German | English
Post Reply