Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to set Set Preference in GlideModel

anilkumarsharma
Giga Guru

Hello Team

@Ankur 

I would like to inform you that below mention code is OBB but I'm not able to understand that how i can get the  sysparm_sys_id_list,caller_table from where . 

Please help me .

 

function createEvidenceForIssue() {
var dialog = new GlideModal('sn_grc_advanced_request_evidence');
dialog.setTitle('Request Evidence');
dialog.setPreference('sysparm_sys_id_list', g_list.getChecked());
dialog.setPreference('sysparm_type', "audit");
dialog.setPreference('caller_table', "sn_grc_issue");
dialog.on('closeconfirm', refreshPage);
dialog.render();
}
 
function refreshPage() {
return true;
}

 

1 ACCEPTED SOLUTION

Hi Sir

Thanks for update, parameters are avilable in client section

 

View solution in original post

5 REPLIES 5

Hi Sir,

it is not used any where in UI page

 

Regards

Anil Sharma