Keeping custom dashlets synchronised with files

Moderator: crythias

Post Reply
Mothra
Znuny expert
Posts: 189
Joined: 26 Oct 2010, 15:04
Znuny Version: 3.2.11

Keeping custom dashlets synchronised with files

Post by Mothra »

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)?
OTRS 3.2.11 on Centos 6.4 with MySQL 5.0. Agents and internal customers authenticate via Active Directory.
crythias
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

Post by crythias »

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
crythias
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

Post by crythias »

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
Mothra
Znuny expert
Posts: 189
Joined: 26 Oct 2010, 15:04
Znuny Version: 3.2.11

Re: Keeping custom dashlets synchronised with files

Post by Mothra »

crythias wrote:Export Settings button doesn't work for this purpose?
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.
OTRS 3.2.11 on Centos 6.4 with MySQL 5.0. Agents and internal customers authenticate via Active Directory.
crythias
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

Post by crythias »

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
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Keeping custom dashlets synchronised with files

Post by jojo »

Have a look at http://blog.otrs.org/2010/08/01/even-mo ... sysconfig/

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
Post Reply