ByDefault show Additional Comments jornal field on incident form onload

Shashank23
Tera Contributor
How to make the Additional Comments (Customer Visible) field By Default visible Onload incident form, when the user opens the form. Currently, whatever checkbox we check whether it is work notes or additional comments the journal field is visible but I want to show the Additional comments journal field every time the user opens the form.
3 REPLIES 3

Paul Curwen
Giga Sage

It is controlled buy User Preferences stored on the sys_user_preference table the preference is stored in the name column, the value in the value column and the user in the user column.

 

In my opinion it is best left as is and let users use it as designed, but if you must force just Additional Comments (Customer Visible) to be the default then write an onLoad Client Script that sets the following User Preferences of the current user (use g_user.userID to get that):

 

glide.ui.activity_stream.multiple_inputs set this to false

 

and set glide.ui.incident.stream_input to comments

 

 

 

 

***If Correct/Helpful please take time mark as Correct/Helpful. It is much appreciated.***

Regards

Paul

Shashank23
Tera Contributor

Hello @Paul Curwen ,

 

Can you please provide the syntax for the above onLoad Client Script that sets the following User Preferences of the current user (use g_user.userID to get that):

 

Thanks,

Shashank Sharma

Shashank23
Tera Contributor

Hello @Paul Curwen ,

 

Can you please provide the syntax for the above onload Client Script that sets the following User Preferences of the current user (use g_user.userID to get that):

 

Thanks,

Shashank Sharma