Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

How to use variableSummarizerWidget widget in my custom widget

hemantnh
Tera Expert

i have created one custom widget to show the RITM,

 

but i want to show the RITM variables by using this variableSummarizerWidget widget . Please help me to populate the relative RITM variables data

1 REPLY 1

Bhavya11
Mega Patron

Hi @hemantnh ,

 

in server side script call the Variable Summarizer with widget it then pass the parameter like this

 

var widget ='sc-variable-summarizer' // id of the Variable Summarizer widget 

var wudgetParam={

  hide_control :true;

 sys_id:data.ritmId; //sysid of the ritm record 

table:sc_req_item;

toggle:true;

}

 

If I could help you with your Query then, please hit the Thumb Icon and mark as Correct !!

 

 

Thanks,

BK

 


Regards
BK
LinkedIn: https://www.linkedin.com/in/bhavyashree-karanth-55032a121
YouTube: https://www.youtube.com/@NowWithBhavya