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

Gopi22
Giga Guru

Hi,

You can add/remove few fields through Instance options. 

 

find_real_file.png

 

If you need to add any field to the Order status page widget other than the ones available in instance option, you need to edit the HTML section and Server side section of the widget (after cloning it obviously) as below:

HTML Template

find_real_file.png

 

Server Script

 

find_real_file.png

 

Please find below widget after I made the above changes:

find_real_file.png

 

Thanks & Regards,

Gopi

habi2
Mega Contributor

Is it possible add any custom field of task table  like this ?

Sakshi Chavan
Tera Contributor
To modify sc_order_status widget ---- change HTML and server script as mentioned in above link
 
AND --- Update in server script as -- requested_for: reqItemGr.getDisplayValue("requested_for"), short_description: reqItemGr.getDisplayValue("short_description"),
 
Just write getdisplayvalue to display value instead of sys_id
 
 
 
Thanks & Regards
Sakshi

Jakub M
Tera Contributor

I have some issue with this topic. I can clone widget but I can't link new widget with page:

JakubMisiaszek_0-1727859457451.png

I can clone page also but don't know how to link page to action that redirect user to this widget after click on submit button (oh and additional i'm doing it in mobile app, Now Agent, created URL function that redirect to record producer). Any suggestions here?