Modify fields shown in SC Order Status widget

Bruno Fernande1
Kilo Expert

Hi, I need to remove some columns from the SC Order Status Widget, and add another one with the short description.

find_real_file.png

So I've cloned the widget and modified the client controller as follows:

find_real_file.png

But all the columns are still being displayed and my additional field (short_description) is not appearing, what else do I need to modify?

8 REPLIES 8

Mike Patel
Tera Sage

Did you added your cloned widget to page? If not open page that you want to add the widget to and remove the OOTB widget and add your widget and save it.

I did

find_real_file.png

Were you ever able to get the RITM short description to display?

Thanks!

Just for anyone who comes across this as well, I was able to get this to work by editing the "SC Order Status" widget and updated the following Server script section:

...

data.request.requestItems.push({
sys_id: reqItemGr.sys_id.getValue(),
//customize to display short_description instead of item name
//comment out original item name display: "name: catItem.name,"
name: reqItemGr.short_description.getValue(),

...

 

Hopefully that helps someone in the future.