- 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-01-2021 10:11 AM
I already managed to get the data
had to be done in: ui script "sn_chg_soc.data"
around line 58
also there is smth in "sn_chg_soc.config"
around line 5 and 63. I expected this is for the on/off functionality.
however the on/off button is not yet showin up. so probably I miss 1 small thing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2023 10:18 AM
Hi
Even after performing all these steps I am unable to get any column on my change schedule. I updated the script in the similar manner along with added the column as well. However no joy still no new column is reflected. Can you please look into the attached script modification and let me know if there is something which I did wrong. Need little urgent if anyone has response please let me know
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2020 04:49 AM
Yes, you need to update the UI Script and UI macro page and "Left Column Fields" in the definition.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-08-2021 03:23 AM
I have found the answer for this.
as example for the assignment-group field
In your change_soc ui script
Hope you have added the assignment group column in this below mentioned format
ASSIGNMENT_GROUP:"assignment_group",
and then modify your $scope.gantt.config.columns part with this below mentioned script and give a try
{ name: SOC.COLUMN.ASSIGNMENT_GROUP,
label: i18n.getMessage("Assignment Group"),
align: "left",
tree: true,
width: 115,
min_width: 115,
resize: true,
template: function (content) {
return "<span>" + content[SOC.COLUMN.ASSIGNMENT_GROUP] + "</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>";
}},
Then you need to fill the data, this had to be done in: ui script "sn_chg_soc.data"
around line 58
also there is smth in "sn_chg_soc.config"
around line 5 and 63. this is for the on/off functionality.
The only thing that is missing is the on/off button:
this can be found in the ui-macro (sn_chg_soc_aside_config_body) (around L8-19) copy this block for the new field and map it like it has been done in the config-ui-script
<!-- Show Config Item column -->
<li class="state-disable-bg">
<div class="sn-widget-list-content">
<label class="sn-widget-list-title" for="configItemColumnOption">{{messages['Configuration Item']}}</label>
</div>
<div class="sn-widget-list-content sn-widget-list-content_static">
<span class="input-switch">
<input id="configItemColumnOption" type="checkbox" name="configItemColumn" ng-model="showConfigItem" ng-change="updateColumnLayout('config_item')"/>
<label aria-hidden="true" class="switch" for="configItemColumnOption"/>
</span>
</div>
</li>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2021 05:39 AM
did the first two steps with the short description field but still undefined. Any idea?