Edit a Dynamic Field from the back end?
Moderator: crythias
-
- Znuny newbie
- Posts: 38
- Joined: 15 Mar 2015, 10:31
- Znuny Version: v4.0.5 (Debian)
Edit a Dynamic Field from the back end?
Is it possible to edit a Dynamic Field from the back end:
So, say I have a field set up with lots of drop down options. I want to add lots more rows, but doing it through the GUI can take time, so I wonder if the data is stored on a file somewhere in the system that can be edited?
So, say I have a field set up with lots of drop down options. I want to add lots more rows, but doing it through the GUI can take time, so I wonder if the data is stored on a file somewhere in the system that can be edited?
Re: Edit a Dynamic Field from the back end?
actually there is only the option to use the frontend
"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: Edit a Dynamic Field from the back end?
actually this is possible. I loaded loooooooots of data into a dynamic field on the backend.
For starters i loaded a couple on the frontend so as to get the field slightly filled up.
Then went into the database.
Ran
found the dynamic field i needed and edited the field "config" with similar format as the previously loaded.
Once done, i ran the script file in the bin folder.
otrs.DeleteCache.pl
This solved my data loading in the backend.
If you need to update this regularly, thats gonna be tough.
For starters i loaded a couple on the frontend so as to get the field slightly filled up.
Then went into the database.
Ran
Code: Select all
SELECT * FROM dynamic_field;
Once done, i ran the script file in the bin folder.
otrs.DeleteCache.pl
This solved my data loading in the backend.
If you need to update this regularly, thats gonna be tough.
OTRS: 4.0.8
Database: MySQL
Database: MySQL
Re: Edit a Dynamic Field from the back end?
Inserting data directly into database is not intented and might be dangerous as data might get corrupt. So I would not consider it as a back tool and I strongly advice not to manipulate the database directly
"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: Edit a Dynamic Field from the back end?
that is only for initial edition... not as a constant thing.
populating data via web when data is in the hundreds of rows is slow. Its for a 1 time thing mostly
populating data via web when data is in the hundreds of rows is slow. Its for a 1 time thing mostly
OTRS: 4.0.8
Database: MySQL
Database: MySQL
-
- Znuny newbie
- Posts: 38
- Joined: 15 Mar 2015, 10:31
- Znuny Version: v4.0.5 (Debian)
Re: Edit a Dynamic Field from the back end?
Okay, cheers guys. I'll carry on using the front end then. Shame they don't have an official way of doing it though.
Re: Edit a Dynamic Field from the back end?
you're free to contribute or to send an order for such a functionality
"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 guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Edit a Dynamic Field from the back end?
You could generate a json file and then use http://opar.perl-services.de/dist/Impor ... elds-4.0.1 To get an idea of the JSON schema you could export some sample fields...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de