Version 11.1p built 2017-12-05
In the timeline widget, I used an ID field for the lane name instead of a character field as oppose to the sample, and I found it is causing subsequent errors.
e.g for the lane I used employeeID (number) instead of EmployeeName (character)
After a series of testing, I found, the library,ISC_Calendar itself tries to change it to corresponding value in the lane array if it is a number. see the code I found.
setLane : function (lane) {
var cal = this.creator;
if (isc.isA.Number(lane)) lane = cal.lanes[lane].name;
this.items[0].getItem(cal.laneNameField).setValue(lane);
},
Due to this, I guess anybody who tries to use ID or numeric value as a lane name will experience the same issue.
Thanks in advance for any guidance,
In the timeline widget, I used an ID field for the lane name instead of a character field as oppose to the sample, and I found it is causing subsequent errors.
e.g for the lane I used employeeID (number) instead of EmployeeName (character)
After a series of testing, I found, the library,ISC_Calendar itself tries to change it to corresponding value in the lane array if it is a number. see the code I found.
setLane : function (lane) {
var cal = this.creator;
if (isc.isA.Number(lane)) lane = cal.lanes[lane].name;
this.items[0].getItem(cal.laneNameField).setValue(lane);
},
Due to this, I guess anybody who tries to use ID or numeric value as a lane name will experience the same issue.
Thanks in advance for any guidance,
Comment