Searchable Dynamic Field

Moderator: crythias

Locked
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Searchable Dynamic Field

Post by CHFiredancer »

How do a I make a Dynamic Field searchable?
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Searchable Dynamic Field

Post by jojo »

via Sysconfig Frontend::Agent::Ticket::ViewSearch
"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
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Re: Searchable Dynamic Field

Post by CHFiredancer »

Thanks jojo,

I've been there and I do see where dynamic fields can be entered. I have a dynamic field as "Field1", will you provide some instructions to make Field1 searchable?
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Searchable Dynamic Field

Post by jojo »

add a line in the Ticket::Frontend::AgentTicketSearch###DynamicField section. Put in the name of the field on the left column and a 1 on the right column
"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
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Re: Searchable Dynamic Field

Post by CHFiredancer »

Key = Field1 and Content = 1?

I did this and the information in the dynamic field is still not searchable.
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Re: Searchable Dynamic Field

Post by CHFiredancer »

Has anyone been able to get a dynamic field searchable? If so will you please explain in detail how you did so? The information provided in this thread does not help.
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Searchable Dynamic Field

Post by jojo »

Please explain your issue and show a screenshot of your sysconfig setting for search
"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
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Re: Searchable Dynamic Field

Post by CHFiredancer »

Here's the Dynamic Field:

http://www.mediafire.com/i/?mm5crrk0dbt5u9v

Here's the Ticket::Frontend::AgentTicketSearch###DynamicField:

http://www.mediafire.com/i/?f27t6fy9gb62uyv

Thank you,
Last edited by CHFiredancer on 24 May 2012, 16:44, edited 1 time in total.
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Searchable Dynamic Field

Post by jojo »

No Screenshots attached...
"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
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Re: Searchable Dynamic Field

Post by CHFiredancer »

Yes they are
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Searchable Dynamic Field

Post by jojo »

should work, please show search template
"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
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Re: Searchable Dynamic Field

Post by CHFiredancer »

The search template doesn't have the Dynamic Field added to it. How do I add it to the search template?
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Searchable Dynamic Field

Post by jojo »

post a screenshot. The config looks a correct.
so it could be a pebmac error
"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
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Re: Searchable Dynamic Field

Post by CHFiredancer »

I assume this is the template you are looking for?

http://www.mediafire.com/i/?t6oofqd53ppb7km
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Re: Searchable Dynamic Field

Post by CHFiredancer »

They dynamic field isn't listed in the dropdown box for adding another attribute.
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Searchable Dynamic Field

Post by jojo »

3.1.5 ?
deleted all caches?
restartet apache?
"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
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Re: Searchable Dynamic Field

Post by CHFiredancer »

3.1.3

yes
yes

:)
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Re: Searchable Dynamic Field

Post by CHFiredancer »

How do I make it searchable?
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Searchable Dynamic Field

Post by jojo »

It should be searchable from the settings you posted. So it just could be just some usage error.

Please post a screenshot of your search template (with the whole list of attributes which can be added)
"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
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Re: Searchable Dynamic Field

Post by CHFiredancer »

Here are the links to my screen shot of the Search Templates showing the full options for the Attributes Drop Down Scrollbar.

http://www.mediafire.com/i/?72e2jw21fzu99v6

http://www.mediafire.com/i/?p4e2n8j16jlym98
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Re: Searchable Dynamic Field

Post by CHFiredancer »

How do I make it searchable?
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Searchable Dynamic Field

Post by jojo »

Hello Daniel,

as far as I can see you added a dynamic field for articles not for tickets.

At the moment only ticket dynamic fields can be added.

Please feel free to add a bug via bugs.otrs.org
"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
CHFiredancer
Znuny newbie
Posts: 40
Joined: 04 Apr 2012, 16:10
Znuny Version: 3.1.1
Real Name: Daniel
Company: MediaFire
Location: Texas, USA

Re: Searchable Dynamic Field

Post by CHFiredancer »

Ok, that makes sense.

In the meantime I'll have agents add this information as a Note.

Thank you
Daniel Goebel

OTRS Newbie
OTRS Help Desk 3.1
Survey Mod
Locked