Altering the Resource Data Shown in the Timeline View
This example shows you how to set the Resource box to display only the Tech ID and Primary Skill Level in the Schedule Grid when using the Timeline View.
Go to the folder where the schedulerControl.js file is installed. For a base installation, using the installation defaults, it would be here: Program Files (x86)\Signature\Schedule\WebsiteFiles\Scripts\K2A\ScheduleControl.
- Make a copy of the current schedulerControl.js file and paste it into the same folder, for backup purposes.
- Edit the schedulerControl.js file with Notepad++.
- Go to this part of the code (possibly at the end of the script):
resourceColumnData: function (resource, label) {return "<div id='headerLabel-" + resource.key + "' data-resourceID='" + resource.key + "' class='resourceHeaderDetail' style='height: 100% !important;' ondblclick='COMMON.showResourceDetail(" + resource.key + ")'>\ <div class='resourceDataDetail'>" + label + "</div><div class='resourceDataDetail'>" + resource.resource + "</div><div class='resourceDataDetail'>" + resource.skillLevel + " </div><div class='resourceDataDetail'>" + resource.team + "</div></div>"; - Replace this area of the script with this text:
<div class='resourceDataDetail'>" + resource.resource + "</div><div class='resourceDataDetail'>" + resource.skillLevel + "</div></div>"; - Save changes to the file.
- Launch Schedule.
- CTRL-F5 to update the configuration files.