Expand my Community achievements bar.

SOLVED

Asset Search dropdown field

Avatar

Level 6

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

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor
4 Replies

Avatar

Level 10

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

Avatar

Employee Advisor

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

Avatar

Level 6

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

Avatar

Correct answer by
Employee Advisor