Change Sysconfig via sopm package
-
- Znuny newbie
- Posts: 5
- Joined: 04 Jun 2013, 07:34
- Znuny Version: 2.3.3
- Real Name: Rouven
- Company: cimt ag
Change Sysconfig via sopm package
Hi,
is it possible to change a setting of a common attribute in sysconfig via my own sopm package? For example change proxy settings by providing a sopm file.
rgds,
rouven
is it possible to change a setting of a common attribute in sysconfig via my own sopm package? For example change proxy settings by providing a sopm file.
rgds,
rouven
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change Sysconfig via sopm package
if that sopm file contains a Files/something.xml (which it should) then yeah, you can overwrite things (except if specified in Config.pm).
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: 5
- Joined: 04 Jun 2013, 07:34
- Znuny Version: 2.3.3
- Real Name: Rouven
- Company: cimt ag
Re: Change Sysconfig via sopm package
Hi crythias,
thanks for the input. There is a XML file, so that shouldn't be the problem. I don't exactly understand how to overwrite existing settings, e.g. the MasterSlave Feature:
How do I set only the key to 1 without overwriting all other settings. I don't want to change the Group/Subgroup, etc. settings.
Rgds,
Rouven
thanks for the input. There is a XML file, so that shouldn't be the problem. I don't exactly understand how to overwrite existing settings, e.g. the MasterSlave Feature:
Code: Select all
<ConfigItem Name="MasterSlave::UnsetMasterSlave" Required="1" Valid="1">
<Description Translatable="1">Enable the feature to unset the MasterSlave state of a ticket in the advanced MasterSlave mode.</Description>
<Group>MasterSlave</Group>
<SubGroup>Core::MasterSlave</SubGroup>
<Setting>
<Option SelectedID="0">
<Item Key="0">Disabled</Item>
<Item Key="1">Enabled</Item>
</Option>
</Setting>
</ConfigItem>
Rgds,
Rouven
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change Sysconfig via sopm package
<Option SelectedID="1">
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 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: Change Sysconfig via sopm package
SelectedID="1"
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
-
- Znuny newbie
- Posts: 5
- Joined: 04 Jun 2013, 07:34
- Znuny Version: 2.3.3
- Real Name: Rouven
- Company: cimt ag
Re: Change Sysconfig via sopm package
Vielen Dank!
-
- Znuny newbie
- Posts: 24
- Joined: 18 Dec 2013, 16:57
- Znuny Version: *.*.*
- Company: Znuny GmbH
- Location: Berlin
- Contact:
Re: Change Sysconfig via sopm package
Since OTRS ready the config XML files in alphabetic order the last config wins. This might cause some troubles so it's recommended to use a propriate init attribute in your XML config:
http://doc.otrs.org/developer/3.0/en/ht ... xml-config
//Edit: Translated to english - sorry!
http://doc.otrs.org/developer/3.0/en/ht ... xml-config
//Edit: Translated to english - sorry!
Last edited by ThorstenEckel on 16 Mar 2014, 15:21, edited 1 time in total.
Znuny4OTRS Extensions auf Github: https://github.com/znuny/
Znuny4OTRS - intl. Enterprise Services: https://znuny.com
Znuny4OTRS - intl. Enterprise Services: https://znuny.com
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change Sysconfig via sopm package
Please in English on this forum.ThorstenEckel wrote:Da OTRS die config XMLs alphabetisch einliest und die "letzte" Config gewinnt, wäre es noch sinnvoll das passende init-Attribut zu setzen:
http://doc.otrs.org/developer/3.0/en/ht ... xml-config
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
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Change Sysconfig via sopm package
Please in English on this forum.ThorstenEckel wrote:Da OTRS die config XMLs alphabetisch einliest und die "letzte" Config gewinnt, wäre es noch sinnvoll das passende init-Attribut zu setzen:
http://doc.otrs.org/developer/3.0/en/ht ... xml-config
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