How to remove the text below the list collector in RITM and sc_task
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 05:53 AM - edited 07-15-2024 05:59 AM
Hi,
I have the list collector variable. In the RITM level, I am getting extra text. Please let me know how to remove it.
Regards
Suman P.
6 REPLIES 6
Community Alums
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 06:34 AM
Hi @Anurag Tripathi ,
I got 3 other client scripts
function onLoad() {
g_form.setVisible("application", true);
g_form.setMandatory("application", true);
g_form.setVisible("request_type", true);
g_form.setMandatory("request_type", true);
g_form.setVisible("justification", true);
g_form.setMandatory("justification", true);
g_form.setVisible("uin", false);
g_form.setVisible("client_id", false);
g_form.setVisible("temporary_password", false);
}
function onLoad() {
var ga = new GlideAjax("onLoadUserIDContactCenterClass");
ga.addParam("sysparm_name", "onLoadUserIDContactCenterFunction");
ga.addParam("sysid_key", g_user.userID);
ga.getXML(callBackFunction);
function callBackFunction(response) {
var answer = response.responseXML.documentElement.getAttribute("answer");
var op = JSON.parse(answer);
g_form.setValue("userid", op.callerID);
g_form.setValue("email", op.callerEmail);
g_form.setValue("job_title", op.callerTitle);
}
}
vfunction onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue == '') {
return;
}
var ga = new GlideAjax("onChangeUserIDContactCenterClass");
ga.addParam("sysparm_name", "onChangeUserIDContactCenterFunction");
ga.addParam("sysid_key", newValue);
ga.getXML(callBackFunction);
function callBackFunction(response) {
var answer = response.responseXML.documentElement.getAttribute("answer");
var op = JSON.parse(answer);
g_form.setValue("userid", op.callerID);
g_form.setValue("email", op.callerEmail);
g_form.setValue("job_title", op.callerTitle);
}
}
Regards
Suman P.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2024 06:37 AM
Make sure this is not checked on the onload ones
-Anurag