Global Text Search - How to search Asset Number

Celliven
Giga Expert

Hi There

I have added a search group to look at [alm_asset] and [alm_hardware] and allocated the roles of admin and itil.

find_real_file.png

I would think that If I have these tables selected ServiceNow should perform a search against all fields on both tables, however when I perform a search against a serial number I do not get a hit?

find_real_file.png

I'm sure this must be a fairly standard request.....

Any thoughts?

Thanks

Chris

1 ACCEPTED SOLUTION

larstange
Mega Sage

Hi



you just have to modify the dictionary for the alm_asset table and enable Text Indexing for the asset tag field. After this you have to regererate the text index



find_real_file.png


find_real_file.png


find_real_file.png


View solution in original post

10 REPLIES 10

larstange
Mega Sage

Hi



you just have to modify the dictionary for the alm_asset table and enable Text Indexing for the asset tag field. After this you have to regererate the text index



find_real_file.png


find_real_file.png


find_real_file.png


Hi Lars



Thanks for the reply, that makes sense to me, however the Text index field is hidden for some reason.



So, I found a UI Policy that was hiding the field unless the type was 'collection'. I made that inactive and the field has appeared.



Now I cant see the related link even though the UI action says to show it


find_real_file.png



Any idea why the related link would not be showing?



Thanks



Chris


Hi Lars



I think I got it.



I had to remove 'current.internal_type == 'collection' && ' from the condition and now I can see the Related Link


find_real_file.png



How long after clicking regenerate text index before I should get a result on the search or is it dependent on the size of the database?


Yes that depends on how many assets you have