- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 07:29 AM
Hi All,
We're upgrading to London soon, and we need to change or add columns to the Change Schedule chart. Instead of showing the Configuration Item and Duration, we would like to replace it with the TItle and Assignment Group.
Thank you in advance.
Regards,
Jocelyn
Solved! Go to Solution.
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2018 05:38 AM
Hi Sachin,
Thanks for the email, but that's not the column I was referring.
As per ServiceNow, in order to customize the page, you need to customize the following scripts
1. UI page - sys_id=a4fac4c7c3310300b6dcdfdc64d3aef8
2. UI script -Sysy_id=01109679d7e01300532c24837e6103c2
3. UI script -sys_id=6ff41e3ac31303009f93dfdc64d3aebb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2021 07:05 AM
Then you need to fill the data, this had to be done in: ui script "sn_chg_soc.data"
around line 58
this will change it from undefined to "empty" if you have not configured the field in the chg_soc_definition.
Please navigate to chg_soc_definition.LIST table and find your change schedule record.
Open your record and add,remove columns in Left Column, Right Column fields.
did this help you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2021 07:43 AM
Thanks guys. I have not had a chance to try yet. Pulled on another project. But when I tried to update the sn_chg_soc.data ui I keep getting an error. It does not like me trying to add short_description under the config_item: record.cmdb_ci? record.cmdb_ci.display_value : ""
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2021 07:58 AM
I think I see the issue, perhaps forgot the komma. as for yr reference, I used the name "short_desc" in the sn_chg_soc.change_soc
config_item: record.cmdb_ci ? record.cmdb_ci.display_value : "",
short_desc: record.short_description ? record.short_description.display_value : "",
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2021 11:40 AM
Thanks Peter! I will try that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2021 12:05 PM
Hi Peter and All,
Finally getting back to this. Sorry for the delay. I tried to add this statement before and after the config_item statement. Neither worked. Still displays "undefined". Any suggestions most appreciate it. Thanks
var recordEvent = {
id: record.sys_id ? record.sys_id.value : "",
text: record.number ? record.number.display_value : "",
number: record.number ? record.number.display_value : "",
chg_soc_def: chgSocDef.sys_id.value,
short_desc: record.short_description ? record.short_description.display_value : "",
config_item: record.cmdb_ci ? record.cmdb_ci.display_value : "",
start_date: startDate,
end_date: endDate,
dur_display: durationFormatter.buildDurationDisplay(startDate, endDate),
order: 0,
progress: 0,
table: record.sys_class_name ? record.sys_class_name.value : chgSocDef.table_name.value,
left_fields: buildFields(record, chgSocDef.popover_left_col_fields.value, tableMeta),
right_fields: buildFields(record, chgSocDef.popover_right_col_fields.value, tableMeta),
record: record,
blackout_spans: [],
maint_spans: [],
sys_id: record.sys_id ? record.sys_id.value : "",
__visible: true