Display dynamic field on search UI and on search results?

Moderator: crythias

Post Reply
disciple
Znuny newbie
Posts: 62
Joined: 31 Jul 2022, 12:27
Znuny Version: 6.4.2
Real Name: David Müller

Display dynamic field on search UI and on search results?

Post by disciple »

is it possible to display as a preselected field on the search UI (on which I can add fields)?

also is it possible to display dynamic fields on the search result pages?

I tried to find the corresponding screens in
Dynamic fields <-> Screens

But I am too fresh with the Znuny on this case to understand the mappings of screen to dynamic fields
Are my above named requirements possible to solve with Znuny?
hkais
Znuny expert
Posts: 287
Joined: 16 Apr 2016, 08:55
Znuny Version: see in post
Real Name: Hans
Contact:

Re: Display dynamic field on search UI and on search results?

Post by hkais »

disciple wrote: 02 Aug 2022, 13:17 is it possible to display as a preselected field on the search UI (on which I can add fields)?
your question is unclear, can you clarify?
disciple wrote: 02 Aug 2022, 13:17 also is it possible to display dynamic fields on the search result pages?

I tried to find the corresponding screens in
Dynamic fields <-> Screens
need to check, afaik not out of the box
Elected 2022-06 as an IT Governance Portal Expert. The portal for Znuny, OTRS and OTOBO users
skullz
Znuny superhero
Posts: 621
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Display dynamic field on search UI and on search results?

Post by skullz »

disciple wrote: 02 Aug 2022, 13:17 is it possible to display as a preselected field on the search UI (on which I can add fields)?

also is it possible to display dynamic fields on the search result pages?

I tried to find the corresponding screens in
Dynamic fields <-> Screens

But I am too fresh with the Znuny on this case to understand the mappings of screen to dynamic fields
Are my above named requirements possible to solve with Znuny?

Check system configuration for

Ticket::Frontend::AgentTicketSearch###DynamicField
Ticket::Frontend::AgentTicketSearch###DefaultColumns
disciple
Znuny newbie
Posts: 62
Joined: 31 Jul 2022, 12:27
Znuny Version: 6.4.2
Real Name: David Müller

Re: Display dynamic field on search UI and on search results?

Post by disciple »

skullz wrote: 04 Aug 2022, 15:51 Check system configuration for

Ticket::Frontend::AgentTicketSearch###DynamicField
Ticket::Frontend::AgentTicketSearch###DefaultColumns
Thank you the DefaultColumns did the trick!

But this is really confusing. I add it to the corresponding UI mapping in DynamicFields to Screens, and you have additionally add it manually again into
Ticket::Frontend::AgentTicketSearch###DefaultColumns
My expectation would be to have it automatically there as available if adding to

DynamicFields to Screen: Ticket::Frontend::AgentTicketSearch


or do I use the UI wrong?
root
Administrator
Posts: 3956
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Display dynamic field on search UI and on search results?

Post by root »

disciple wrote: 25 Aug 2022, 11:17
or do I use the UI wrong?
In short: yes ;-). There are two entries for AgentTicketSearch: one below screens, which add the field to the available fields to search for and on below DefaultColumns which adds the field to the columns of the search result.

- Roty
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 ?
disciple
Znuny newbie
Posts: 62
Joined: 31 Jul 2022, 12:27
Znuny Version: 6.4.2
Real Name: David Müller

Re: Display dynamic field on search UI and on search results?

Post by disciple »

Roy, maybe I am to blind or stupid :(

using this UI:
/otrs/index.pl?Action=AdminDynamicFieldScreenConfiguration;Subaction=Edit;Type=DynamicFieldScreen;Element=Ticket%3A%3AFrontend%3A%3AAgentTicketSearch%23%23%23DynamicField#

what I am having is underneach
"Filter assigned elements"

Here I have added my field, but it was missing in the column selection of the search results.

maybe the UI is unclear to me?
root
Administrator
Posts: 3956
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Display dynamic field on search UI and on search results?

Post by root »

Just go to /otrs/index.pl?Action=AdminDynamicFieldScreenConfiguration

and see this:
Screen Shot 2022-08-25 at 3.45.57 PM.jpg
- Roy
You do not have the required permissions to view the files attached to this post.
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 ?
disciple
Znuny newbie
Posts: 62
Joined: 31 Jul 2022, 12:27
Znuny Version: 6.4.2
Real Name: David Müller

Re: Display dynamic field on search UI and on search results?

Post by disciple »

disciple wrote: 25 Aug 2022, 13:59 Roy, maybe I am to blind or stupid :(
okay both ;-)

thank you!
Post Reply