I'm trying to create a Hash of Arrays in configuration. Which works great. However when I try to add it in SysConfig
Is there a way around this? I would like be able to add new items as I go along without editing the XML files directly...
it is done like you see it in the screen shot.Configuraton
-
- Znuny newbie
- Posts: 74
- Joined: 17 May 2013, 09:30
- Znuny Version: 6.0.30
- Real Name: Stein Erik Berget
Configuraton
You do not have the required permissions to view the files attached to this post.
OTRS 6.0.12 on Ubuntu with MySQL DB, and various plug-ins and a hack or two
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Configuraton
I don't think you can do that. Just tried to use the syntax of ZZZAuto.pm to add an array inline, but it got quoted.
So if you want an additional Hash-of-arrays, you'd have to add that through the .xml.
So if you want an additional Hash-of-arrays, you'd have to add that through the .xml.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
-
- Znuny newbie
- Posts: 74
- Joined: 17 May 2013, 09:30
- Znuny Version: 6.0.30
- Real Name: Stein Erik Berget
Re: Configuration
Or add a bunch of dummy ones that can be changed... Or do it by code possibly?
OTRS 6.0.12 on Ubuntu with MySQL DB, and various plug-ins and a hack or two
-
- Znuny guru
- Posts: 2210
- Joined: 13 Mar 2014, 09:16
- Znuny Version: 6.0.14
- Real Name: Rolf Straub
Re: Configuraton
Meaning a dynamically altered .xml file? Wouldn't recommend that, makes migration and maintainability of your customization harder.
If you know you're going to use 5 items, then add another 3-5 as empty dummys, yes.
If you know you're going to use 5 items, then add another 3-5 as empty dummys, yes.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS