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

Hi Michal,

I can see in your above screenshot that you have added a new column as Short description.

Could you please list out the changes needs to do in UI page & UI scripts for change schedule.

I followed the above steps however new column has been added successfully in the layour however its value is showing as undefined. And I am thinking that I am missing some of the UI script or UI page change.

 

It would be great help if you can list out all the changes.

Hello NMiel,

Dynamic part, I still need to work on it. For hiding it permanently, steps mentioned below.

In the change_soc Ui Script:

comment out the below mentioned lines.

Line no - 39

COLUMN: {
//CONFIG_ITEM: "config_item",
DURATION: "duration",
NUMBER: "number"
},

Line no - 153-164

// { name: SOC.COLUMN.CONFIG_ITEM,
// label: i18n.getMessage("Configuration Item"),
// 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.CONFIG_ITEM] + "'>"
// + content[SOC.COLUMN.CONFIG_ITEM]
// + "</span>";
// }},

Hope this helps. Give it a try

Good Luck

Thank you, I will leave it as dynamic for now, and let users hide it themselves.  I will save this for later though, much appreciated.

Hi Sree,

I can see in your above screenshot that you have added a new column as Assignment group and based on that I added Short description.

Could you please list out the changes needs to do in UI page & UI scripts for change schedule.

I followed the above steps however new column has been added successfully in the layout however its value is showing as undefined. And I am thinking that I am missing some of the UI script or UI page change.

 

It would be great help if you can list out all the changes.

Hi Manish,

I have already added all the necessary changes in my previous post.May i know which field you have added? Kindly ensure whether the newly added field has been included in the corresponding change schedule definition.