Re: [otrs] How to get the value of a dynamic field in an event module

2012-06-15 Thread David Heidt

Hello Bernard,

the support of dynamic field Values in the ticket object seems to be 
completely missing, I opened a bug a couple of days ago, I think your 
issue is related to mine:


http://bugs.otrs.org/show_bug.cgi?id=8551

Cheers,

David

Am 14.06.12 12:12, schrieb Bernard Chambon:



  Hello,

I want to run an action , using event, according to the value of a 
dynamic field

( dynamic field is a check box, let say "IsCompanyTicket")

The current situation :
 dynamic field created and associated to Customer::Frontend
 new ConfigItem added in Kernel/Config/Files/Ticket.xml
 Event module created in Kernel/System/Ticket/Event/

 In that module, I can see (print) the dynamic Field name 
DynamicField_IsCompanyTicket, th'at's ok

* but I DON'T know how to get the value*
 I meant that something like :
/my $df_value = $Ticket{DynamicField_IsCompanyTicket};

/
/ doesn't work, /I got no value
 I have tried with checkbox but also textfield.

I don't kown where to look for in documentation ?

Best regards.

---
Bernard CHAMBON
IN2P3 / CNRS
04 72 69 42 18



-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Re: [otrs] OTRS 3.1: Making dynamic fields searchable

2012-04-19 Thread David Heidt

Hi Frank,

you have to enable Dynamic fields in each view in Sysconfig:

Ticket -> Frontend::Agent::Ticket::View
In your case it is Ticket -> Frontend::Agent::Ticket::ViewSearch

There, enable this section by checking the box:
Ticket::Frontend::AgentTicketSearch###DynamicField
and add your DynamicField keys, followed by 1

DynamicFields are really a cool new feature, but not well documented... 
It took me quite a while to find out how it is used.


Cheers,

David


Am 19.04.12 15:09, schrieb Frank Thommen:

Hi,

I recently successfully upgraded from OTRS 3.0.x to 3.1.3 and all Free 
Fields were converted into Dynamic Fields.  But I now sadly miss the 
possibility to use them in a search.  This was possible with Free 
Fields in OTRS 3.0.x.


Google and the OTRS documentation didn't help.  Can anyone give me a 
hint, how Dynamic Fields can be made searchable?


Thanks in advance

   frank
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


Re: [otrs] Wrong System-Email after Upgrade

2012-04-17 Thread David Heidt

Hi Wolfgang,

I think upgrading directly to 2.3 (2.3.6) makes more sense. See the 
UPGRADING -File of Version 2.3.6:



These instructions are for people upgrading OTRS from "2.2" to "2.3".


Upgrades from Versions 2.x to 2.(x+1)  are imho supported, perhaps this 
solves your problem.


For your own sake, please try upgrading with a test system first ;)

Good Luck and Cheers,

David

Am 17.04.12 14:11, schrieb Wolfgang:

So i guess that no one has an idea how to fix this?

Wolfgang





Am 2012-04-03 14:25, schrieb Wolfgang:

Hello,

i am still using otrs 2.2.7 and want to upgrade to 3.1.
I just tried to upgrade to 2.2.8 but after the upgrade the following
happens:

i do  have many companies/customers. and each has it's own queue and own
system-address. when i login as a customer of company1 and create a
ticket, this customer gets a notification with the email-adress(from) of
company2. this should not happen, since the companies should not know of
each other...

how can i fix this?

greetings
Wolfgang
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs


[otrs] usage of DynamicField values in responses

2012-04-17 Thread David Heidt

Hello List,

This one is for the 3.1 hackers and developers ;)

I set up several key value pairs for a DynamicField Dropdown called 
'language' :


key - value:
-
de - german
en - english
fr - french

I was wondering if DynamicFields are usable within my system Responses, 
so I set the key 'en' for a sample ticket.



http://dev.otrs.org/cvs/Kernel/System/Ticket.html
says that the Tikcet Object contains this information, so I tried it 
out, by setting this in my Response:


you speak .

This works fine, but it only shows me the key:

"you speak en"

So, how do I get the value:

"you speak english" ?


Cheers,

David






-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Re: [otrs] Привет!

2010-08-12 Thread David Heidt
Ruslan wrote
> Привет!
>
> Как дела?
>
>   
хорошо! Спасибо, что спросил.
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

[otrs] split OTRS, transfer Queues

2010-07-05 Thread David Heidt
Hi people,

I wonder if it's possible to split an existing OTRS into two by
migratiing selected Queues to a freshly installed instance.

Of course, I could create a clone of the existing OTRS and
delete/deactivate the corresponding queues on each instance, but i'd
prefer a clean install.

Any hints oder best practices?

OTRS 2.3.4

cheers,

David


-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] Package Manager issue

2010-06-02 Thread David Heidt
Hi,
> I get this error when i got to the Package Manager section:
>
>
>   Software error:
>
> ERROR: Need write permission in OTRS home
> Try: $OTRS_HOME/bin/SetPermissions.pl !!!
> I have installed otrs on a ubuntu 10.04 default LAMP and Email installation.
> r...@nagios:~# /usr/share/otrs/bin/SetPermissions.pl /usr/share/otrs/
> bin/SetPermissions.pl <1.10.2.1> - set OTRS file permissions
> Copyright (C) 2001-2009 OTRS AG, http://otrs.org/
> Setting permissions on /usr/share/otrs/
> Setting permissions on /usr/share/otrs//var
> Setting permissions on /usr/share/otrs//bin/*
> Setting permissions on /usr/share/otrs//scripts/*.pl
> Setting permissions on Kernel/Config.pm
> Setting owner rw and group ro permissions on /usr/share/otrs//
> r...@nagios:~# ls -l /usr/share/otrs/
> total 20
> drwxrwxr-x 4 otrs nogroup 4096 2010-06-02 12:40 bin
> drwxrwxr-x 7 otrs nogroup 4096 2010-06-02 12:40 Kernel
> -rw-rw-r-- 1 otrs nogroup 6863 2010-02-07 23:30 maintainance.html.dist
> lrwxrwxrwx 1 root root  20 2010-06-02 12:40 RELEASE -> 
> ../doc/otrs2/RELEASE
> drwxrwxr-x 6 otrs nogroup 4096 2010-06-02 12:40 scripts
> lrwxrwxrwx 1 root root  13 2010-06-02 12:40 var -> /var/lib/otrs
> r...@nagios:~# 
>   
> Can anyone help me?
This file may help :

/usr/share/doc/otrs2/README.Debian


Cheers,

David
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


Re: [otrs] Disable customer interface

2010-03-02 Thread David Heidt
Hi Guillaume,

I use the Apache Config for this:

#


RewriteEngine On

# Customer Portal deactivated:
RewriteRule /customer.pl /index.pl [R=301,L]


###

this leads to the agent login.

you may also use a  container:

##
  
Order deny,allow
Deny from all
  
#

Regards,

David

Guillaume Rehm schrieb:
> Hi all,
>
> Is it possible to disable the customer interface
> (http://server/otrs/customer.pl) by configuration ? I have renamed
> customer.pl file but updates recreate it.
>
> Do you have an idea, a solution ?
>
> Thanks in advance.
>
> And OTRS is a great / wonderful product.
> -- 
> Guillaume REHM
> Centre de Ressources Informatiques
> Responsable Sécurité du Système d'Information (RSSI)
>
> Bibliothèque Nationale et Universitaire de Strasbourg
> 5 rue du Maréchal Joffre
> BP 51029
> 67070 Strasbourg
>
> tél: 03 88 25 28 23
> fax: 03 88 25 28 03
> mail: guillaume.r...@bnu.fr
> web: http://www.bnu.fr
> 
>
> -
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
>
> NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
> http://www.otrs.com/en/support/enterprise-subscription/

-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/


[otrs] Soucecode Question: AgentTicketMove Module

2009-11-12 Thread David Heidt
Hello List,

I recently updated my OTRS 2.2.7 to 2.3.4.  I was using  a customized
code snipped that changed the TicketFreeText1 and -2 every Time when the
Ticket was moved to another Queue (see examples in
Kernel/System/Ticket/Event/TicketFreeFieldDefault.pm )

This worked pretty good.
In OTRS 2.3.4 not...

After hours of debugging I found out that in
Kernel/Modules/AgentTicketMove.pm in Line 591ff all TicketFreeTexts are
set back to their old values.

I commented the # set ticket free text - section out, so everything is
fine now :)

Now to the question I have:
Why is this call to set the TicketFreeText in the AgentTicketMove Module
existing?
Because even when deactivated, the TicketFreetexts remain when moving a
Ticket into another Queue (disregarding my customizing).

I just don't want to deactivate original code parts without knowing the
reason for their existence ...*

Best regards,


David

*
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/