- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 02:57 AM
Hi experts!
How can i add Short Description into the Change Schedule view?
Thanks all for the help!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2022 11:43 PM
Update - I have fixed this now:
UI Script: change_soc
Approx. line 40:
SHORT_DESCRIPTION: "short_description",
Approx. line 163
{
name: SOC.COLUMN.SHORT_DESCRIPTION,
label: i18n.getMessage("Short Description"),
align: "left",
width: 220,
min_width: 220,
resize: true,
template: function (content) {
return "<span>" + content[SOC.COLUMN.SHORT_DESCRIPTION] + "</span>" + "<span data-toggle='tooltip' data-trigger='hover focus click' data-container='body' data-placement='auto bottom' class='select-task icon-target'"
+ "data-original-title='" + msgSelectRecord + "'" + "</span>";
}
},

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 03:12 AM
This would require customization & change to UI Page: change_soc

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2022 03:13 AM
Found a link that should help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2022 10:25 PM
Hi Max,
I followed the steps here: https://community.servicenow.com/community?id=community_question&sys_id=520111d8dbde2f00f0612183ca961931
As I am also trying to input Short Description and I can get all the columns but the data is showing as Undefined. Any ideas?
UI Script: sn_chg_soc.data
Approx. line 57
short_description: record.short_description ? record.short_description.display_value :"",
UI Script: change_soc
Approx. line 163
{
name: SOC.COLUMN.SHORT_DESCRIPTION,
label: i18n.getMessage("Short Description"),
align: "left",
width: 220,
min_width: 220,
resize: true,
template: function (content) {
return "<span data-toggle='tooltip' data-trigger='hover focus click' data-container='body' data-placement='auto bottom' " +
"data-original-title='" + content[SOC.COLUMN.SHORT_DESCRIPTION] + "'>" +
content[SOC.COLUMN.SHORT_DESCRIPTION] +
"</span>";
}
},
I have also updated the Schedule Definition Columns with Short Description.
Cleared cache.
Still showing undefined.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2022 11:43 PM
Update - I have fixed this now:
UI Script: change_soc
Approx. line 40:
SHORT_DESCRIPTION: "short_description",
Approx. line 163
{
name: SOC.COLUMN.SHORT_DESCRIPTION,
label: i18n.getMessage("Short Description"),
align: "left",
width: 220,
min_width: 220,
resize: true,
template: function (content) {
return "<span>" + content[SOC.COLUMN.SHORT_DESCRIPTION] + "</span>" + "<span data-toggle='tooltip' data-trigger='hover focus click' data-container='body' data-placement='auto bottom' class='select-task icon-target'"
+ "data-original-title='" + msgSelectRecord + "'" + "</span>";
}
},