When you create custom dashlets, you first have to create an XML file describing them, and run otrs.RebuildConfig.pl to load them in. Thereafter, you can tweak the dashlets via SysConfig, but this means they get out of sync with the original XML files, and a subsequent re-running of otrs.RebuildConfig.pl will revert the dashlets back to whatever is in their files.
Is there an easy way to copy/export any changes you make in the SysConfig back out to the original dashlet XML files (I'm currently having to do this manually)?
Keeping custom dashlets synchronised with files
Moderator: crythias
Keeping custom dashlets synchronised with files
OTRS 3.2.11 on Centos 6.4 with MySQL 5.0. Agents and internal customers authenticate via Active Directory.
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Keeping custom dashlets synchronised with files
Export Settings button doesn't work for this purpose?
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: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Keeping custom dashlets synchronised with files
I know the export button doesn't make an XML, but are you trying to make a new master or is import from a file ok?
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
Re: Keeping custom dashlets synchronised with files
Unfortunately not. Although a convenient way of backing up SysConfig, the format (Perl Module, rather than XML) doesn't make it much easier to update the XML files than copying the values straight from the UI.crythias wrote:Export Settings button doesn't work for this purpose?
OTRS 3.2.11 on Centos 6.4 with MySQL 5.0. Agents and internal customers authenticate via Active Directory.
-
- Moderator
- Posts: 10169
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Keeping custom dashlets synchronised with files
so you're trying to make a new master?
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
Re: Keeping custom dashlets synchronised with files
Have a look at http://blog.otrs.org/2010/08/01/even-mo ... sysconfig/
this describes how additional XML Files should look like
this describes how additional XML Files should look like
"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