Hi,
wir haben unser DB als Custom Backend angebunden. Dort können wir das Geschelcht auslesen (als UserSalutation-Variable). Diese ist nun entweder 0 oder 1.
In Abhängigkeit dieser Variable würde ich nun gerne in der Salutation entweder "Herr" oder "Frau" schreiben.
Wie geht das? Gibt es eine Möglichkeit sowas wie "if var=1 then Herr" in der Salutation einzubauen?
Danke
Siedi
Conditional Variablen in Salutation / Signature
Conditional Variablen in Salutation / Signature
OTRS 2.4.7 unter gentoo-linux
Re: Conditional Variablen in Salutation / Signature
Nein
"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
Re: Conditional Variablen in Salutation / Signature
Is it not possible to use the # default selections part for this. Or is that for something else?
Re: Conditional Variablen in Salutation / Signature
Der dient nur zum Ausfüllen, also für ein Drop Down in der Kunden Pflege Maske
"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
Re: Conditional Variablen in Salutation / Signature
This works:
[ 'UserSalutation', 'Salutation', 'IF(geslacht = 1, "heer", "mevrouw") AS aanhef', 1, 0, 'var', '', 0 ],
[ 'UserSalutation', 'Salutation', 'IF(geslacht = 1, "heer", "mevrouw") AS aanhef', 1, 0, 'var', '', 0 ],