Howto overwrite user preferences

Hello!

we will upgrade soon our RT from 3.8.7 to 4.2.9, and
I would like to initially set the preference
for Theme on System default (in our case now rudder)

I found that the Preferences are stored in the DB in the table
Attributes with the Name Pref-RT::System-1, but is there a way
to override/alter them?

In the content I only see something like

BQkDAAAAARcDMTIwAAAAHFNlYXJjaFJlc3VsdHNSZWZyZXNoSW50ZXJ2YWw=

regards!

Sven

The sbin/rt-preferences-viewer script will at least let you view
non-default user preferences, but not let you change them. I personally
don’t know of any way to programmatically alter them though.On 4 December 2014 at 02:58, Sternberger, Sven sven.sternberger@desy.de wrote:

Hello!

we will upgrade soon our RT from 3.8.7 to 4.2.9, and
I would like to initially set the preference
for Theme on System default (in our case now rudder)

I found that the Preferences are stored in the DB in the table
Attributes with the Name Pref-RT::System-1, but is there a way
to override/alter them?

In the content I only see something like

BQkDAAAAARcDMTIwAAAAHFNlYXJjaFJlc3VsdHNSZWZyZXNoSW50ZXJ2YWw=

regards!

Sven

devel/tools/rt-attributes-editor

http://www.bestpractical.com/docs/rt/4.2/rt-attributes-editor.htmlAm 12.12.2014 um 13:10 schrieb Alex Peters:

The sbin/rt-preferences-viewer script will at least let you view
non-default user preferences, but not let you change them. I personally
don’t know of any way to programmatically alter them though.

On 4 December 2014 at 02:58, Sternberger, Sven <sven.sternberger@desy.de mailto:sven.sternberger@desy.de> wrote:

Hello!

we will upgrade soon our RT from 3.8.7 to 4.2.9, and
I would like to initially set the preference
for Theme  on System default (in our case now rudder)

I found that the Preferences are stored in the DB in the table
Attributes with the Name Pref-RT::System-1, but is there a way
to override/alter them?

In the content I only see something like

BQkDAAAAARcDMTIwAAAAHFNlYXJjaFJlc3VsdHNSZWZyZXNoSW50ZXJ2YWw=

regards!

Sven

This is a good link. I hacked a small script based on
rt-attributes-editor. Which allows you to modify or delete
the content field in attributes.

useful to change for all user the default
stylesheet

thanks

sven

----- Ursprüngliche Mail -----

rt-attributes-modify (3.82 KB)