- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-13-2015 02:40 PM
Hello Community,
I saw this question asked a few times on the community, and each have very different answers and solutions, all of which I was not able to make work myself unfortunately.
As shown above, when a user enters in a name (caller_id) that reference's the user table the magnifying glass and the Info Pop up icons appear. The problem we are having is this is being shown on an ipad through safari as a sign in sheet for a walk up service desk and the searching interface is not really something we want our users to accidentally click (has been a reoccurring problem). Please also note that there is no Security concerns here, so editing ACL's will not be an issue, we just simply want to make our users' lives easier by not having a giant search results box appears if they happen to click on the icons.
Any suggestions are greatly appreciated. Thanks.
Solved! Go to Solution.
- Labels:
-
User Interface (UI)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2015 12:29 PM
If anyone was interested, ServiceNow provided a client script that took care of this.
function onLoad() {
//Type appropriate comment here, and begin script below
//Hide the magnifyling glass
var nameID = g_form.getControl('caller_id').id;
var theSelector = "a[id*=" + '"lookup.' + nameID + '"]';
var d = document.querySelector(theSelector);
d.style.display = "none";
//Hide the info icon
var test = document.getElementById('view.sys_user');
test.style.display = "none";
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-22-2015 12:29 PM
If anyone was interested, ServiceNow provided a client script that took care of this.
function onLoad() {
//Type appropriate comment here, and begin script below
//Hide the magnifyling glass
var nameID = g_form.getControl('caller_id').id;
var theSelector = "a[id*=" + '"lookup.' + nameID + '"]';
var d = document.querySelector(theSelector);
d.style.display = "none";
//Hide the info icon
var test = document.getElementById('view.sys_user');
test.style.display = "none";
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-25-2023 08:03 AM
I tried this script and its working good in classic ui form. But can you tell me how to do this in workspace ui form as above code is not working for workspace ui?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2016 10:30 AM
Thanks Chris...this saved me a ton of headache !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2018 03:51 AM
This is not working after Activating List V3 plugin.