Modify the Customer Fact Sheet button functionality in SOW for incident and catalog task
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
an hour ago
Hi everyone, I have this form action in SOW and I need to do this: Modify the Customer Fact Sheet button functionality in SOW for the Incident and Catalog task so that when clicked, it goes into Related records to show the related list (of course, once it has been added).
Does anyone know how to make this change? The current code is implemented as a client script:
function onClick() {
var gaUser = new GlideAjax('UserUtils');
gaUser.addParam('sysparm_name', 'getUserCompany')
gaUser.addParam('sysparm_user_sysid', g_form.getValue('caller_id'));
gaUser.getXMLAnswer(getCompany);
function getCompany(result) {
if (result) {
g_aw.openRecord('core_company', result);
}
}
}
0 REPLIES 0