- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2017 10:41 PM
Hi There
I have added a search group to look at [alm_asset] and [alm_hardware] and allocated the roles of admin and itil.
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?
I'm sure this must be a fairly standard request.....
Any thoughts?
Thanks
Chris
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2017 11:38 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2017 02:02 AM
Hi
The Generate text index will only show on the collection, as you will regenerate the text index for the entire table - therefore just open the collection entry in the dictionary and click the link.
I don't thing it will make sense to click it on the asset_tag dictionary entry.
I just changed the value of the "Text index" field directly in the dictionary table so I didnt't have to mess with any ui policies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2017 03:26 AM
Now that makes sense, especially when I test it on another instance and 'hey Presto' works just as you described.
The issue I have is that the instance I am working on doesn't have a Collection entry on any table.
Not sure why and can't see how to create one.
Have you heard of that before?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2017 03:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2017 03:41 AM
Oh dear
sounds like a corruption in the data model
I'll have to escalate that and perhaps log it with ServiceNow.
Wonder how that happened, imagine it isn't an easy fix.
Thanks for all your help, I'll go back and mark your answer as correct, especially as I saw it work in another instance.
Thanks again
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-17-2017 04:11 AM
Hi
You should be able to export the collection record from another instance as an XML file and import it to restore the record.
Or ServiceNow will probably be able to fix it.