Skip to main content
francisco_ribei
Level 6
Dec 17, 2015 1:20 PM UTC
Solved

Asset Search dropdown field

Hi,

I am adding some custom metadata to the assets editor and I have the following scenario:

Lets say we have a dropdown field, and we configured their options this way:

  • opt 1
    • text: Human Resources
    • value: HR
  • opt2
    • text: Information Technology
    • value: IT

With this conf, when selecting a value it will store the value instead of the text.

So, if we try to search for Humar Resources it will not find any asset because the value stored is HR.

Is there any way to create some relation between the text and value? So, if the user search for Human Resources it will retrieve the assets with HR value?

Or the only way is setting the value to be the same as the text?

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Kunal_Gaba_
Kunal_Gaba_Accepted solution
New Member
Dec 17, 2015 8:59 PM UTC

4 replies

smacdonald2008
Level 10
Dec 17, 2015 2:04 PM UTC

Why not write a custom search service that can use tags. That will enhance your search experience. 

Translate
Kunal_Gaba_
New Member
Dec 17, 2015 7:54 PM UTC

How about adding them as synonymns in your Lucene search index configuration ? 

Translate
francisco_ribei
Level 6
Dec 17, 2015 8:53 PM UTC

Hi Kunal23, is there any documentation on how to do that?

Translate
Kunal_Gaba_
Kunal_Gaba_Accepted solution
New Member
Dec 17, 2015 8:59 PM UTC