Customer Dynamic Field object as OTRS tag?

Moderator: crythias

Post Reply
tpsupport
Znuny newbie
Posts: 75
Joined: 02 Feb 2011, 14:45
Znuny Version: 6.0.12

Customer Dynamic Field object as OTRS tag?

Post by tpsupport »

Hi everyone,

I have a Dynamic Field of type Text and object "Customer". Can I use the value of that field as a tag in e.g. a signature?
I have tried <OTRS_TICKET_DynamicField_NAME> but this did not work, I guess it only works for object type Ticket.


-Rick
Znuny 6.5 LTS - Ubuntu 20.04 x64, Azure Database for MySQL server 5.7, Perl 5.22.1, Apache/2.4.18
skullz
Znuny superhero
Posts: 624
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Customer Dynamic Field object as OTRS tag?

Post by skullz »

Check at
- Ticket::EventModulePost###4100-DynamicFieldFromCustomerUser

- DynamicFieldFromCustomerUser::Mapping
tpsupport
Znuny newbie
Posts: 75
Joined: 02 Feb 2011, 14:45
Znuny Version: 6.0.12

Re: Customer Dynamic Field object as OTRS tag?

Post by tpsupport »

Hi skullz,

Thank you for your reply!
skullz wrote: 22 Apr 2020, 16:36 Check at
- Ticket::EventModulePost###4100-DynamicFieldFromCustomerUser

- DynamicFieldFromCustomerUser::Mapping
I quess you mean that I could map a "customeruser" dynamic Field to a Ticket Dynamic Field, right? But what I have is a "Customer" dynamic field, so this solution does not seem to apply to my situation then. What do you think?
Znuny 6.5 LTS - Ubuntu 20.04 x64, Azure Database for MySQL server 5.7, Perl 5.22.1, Apache/2.4.18
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Customer Dynamic Field object as OTRS tag?

Post by root »

tpsupport wrote: 23 Apr 2020, 10:03 Hi skullz,

Thank you for your reply!
skullz wrote: 22 Apr 2020, 16:36 Check at
- Ticket::EventModulePost###4100-DynamicFieldFromCustomerUser

- DynamicFieldFromCustomerUser::Mapping
I quess you mean that I could map a "customeruser" dynamic Field to a Ticket Dynamic Field, right? But what I have is a "Customer" dynamic field, so this solution does not seem to apply to my situation then. What do you think?
Hi,

The Dynamic Field CustomerUser is a CustomerUser field. Did you tried it or do you just assume?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
tpsupport
Znuny newbie
Posts: 75
Joined: 02 Feb 2011, 14:45
Znuny Version: 6.0.12

Re: Customer Dynamic Field object as OTRS tag?

Post by tpsupport »

Hi Roy,

I guess we just have a misunderstanding here, I have a "Customer" Dynamic Field, and I use it for additional information for a customer company.
The solution from skillz obviously targets customeruser object dynamic fields.
Znuny 6.5 LTS - Ubuntu 20.04 x64, Azure Database for MySQL server 5.7, Perl 5.22.1, Apache/2.4.18
root
Administrator
Posts: 3968
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Customer Dynamic Field object as OTRS tag?

Post by root »

Hi,
tpsupport wrote: 23 Apr 2020, 10:15 I guess we just have a misunderstanding here, I have a "Customer" Dynamic Field, and I use it for additional information for a customer company.
The solution from skillz obviously targets customeruser object dynamic fields.
Nope, there's no misunderstanding. the setting skullz mentioned works fine and copies CustomerUser and Customer dynamic Fields into ticket dynamic fields. What's wrong with just trying?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
tpsupport
Znuny newbie
Posts: 75
Joined: 02 Feb 2011, 14:45
Znuny Version: 6.0.12

Re: Customer Dynamic Field object as OTRS tag?

Post by tpsupport »

Hi Roy,

root wrote: 23 Apr 2020, 10:54 Hi,
tpsupport wrote: 23 Apr 2020, 10:15 I guess we just have a misunderstanding here, I have a "Customer" Dynamic Field, and I use it for additional information for a customer company.
The solution from skillz obviously targets customeruser object dynamic fields.
Nope, there's no misunderstanding. the setting skullz mentioned works fine and copies CustomerUser and Customer dynamic Fields into ticket dynamic fields. What's wrong with just trying?

- Roy

Alright, I have tried it and it works well' The only thing that I need to take care about is that the customer user set on the ticket is existing and linked to the customer company.
The Configuration for DynamicFieldFromCustomerUser::Mapping is:
"DynamicField_<Name>" > <TicketDynamicFieldName>

Thank you very much skillz and Roy!
Znuny 6.5 LTS - Ubuntu 20.04 x64, Azure Database for MySQL server 5.7, Perl 5.22.1, Apache/2.4.18
Post Reply