hello,
we have a custom list type field on a custom record
i'm searching the custom record via ss1.0 search
how can I check if a string matches the name of the selected option in a list type field?
i tried doing ['custrecord_list_field_id.name', 'contains', searchString] but it does not work.
n
NElliott
11/20/2019, 1:45 PM
You probably need to post your code to get a better feel of what you'[re talking about.
However, if you want the text value of a search result column that is a list type field you'll need result.getText('column_name') instead of result.getValue('column_name')
a
aaz
11/20/2019, 2:06 PM
I would suggest you tried doing in UI search
aaz
11/20/2019, 2:07 PM
if you getting the result then you could export the search code using the chrome extension for saved search
aaz
11/20/2019, 2:13 PM
which you could try using in code if it runs or not
aaz
11/20/2019, 2:13 PM
probably not the good advise but it is one of the way