The CreatorCon Call for Content is officially open! Get started here.

How to add columns to the Change Schedules?

JLeong
Mega Sage

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.

find_real_file.png

Thank you in advance.

 

Regards,

Jocelyn

 

 

1 ACCEPTED SOLUTION

JLeong
Mega Sage

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

View solution in original post

50 REPLIES 50

Lucy,

in the previous post you mention:

short_desc: record.short_description ? record.short_description.display_value : "",

 

and in an earlier post (L167) you mention that the sn_chg_soc.change_soc contains

name: SOC.COLUMN.short_description,
label: "Short Description",
align: "left",
width: 220,
min_width: 220,
resize: true,
template: function(content) {
return "<span>" + content[SOC.COLUMN.short_description] + "</span>";
}

so I assume around L46 (sn_chg_soc.change_soc) you have 

short_description: "short_description",

 

in this case you need to change the sn_chg_soc.data to:

short_description: record.short_description ? record.short_description.display_value : "",

this way the undefined should be gone

Thanks Peter I will try this!

I guess you need to add short_description to the COLUMN object?

Lucy Vagnoni
Tera Contributor

Thank you everyone.  I will take a look and get back to you.

Lucy Vagnoni
Tera Contributor

I got the column to show but data is undefined.  Can't find where get it.

find_real_file.png