Timeline/Swimlane diagram What it does The platform has a build-in timeline/swimlane chart generator. It supports grouping lanes, moving and resizing tasks. The datastructure has to be two entities, one for the lanes and one for the tasks. Sample How to invoke To view the timeline/swimlane chart, access main?command=com.tsnocode.integration.dhtmlx.SchedulerTimeline&SagID=[SagID] If you access the codeunit without a SagID, it will display some sample data. It can also pull data from a custom codeunit/source (not documented). Options To view a gantt chart, first access the page main?command= com.tsnocode.integration.dhtmlx.SchedulerTimeline to generate the required static configurations . Seven configurations are required: line entity, line title, task entity, task title, task duration, task start, task line. The titles are displayed in the diagram, as is. The start time has to be a full timestamp, not just a date. The duration is given in hours. The task line is a reference to the line it is displayed on. The DataLink should also be updated, at least ?SagID=[CURRECT SAGID] should be added. Configuration Static config Default value Description Scheduler.Clickable true Enables clicking on a task to view it and clicking in empty space to create a new record Scheduler.DataHigh 3 Number of task pr dataunit, to mark the group as "high" (red) Scheduler.DataLink com.tsnocode.integration.dhtmlx.SchedulerSampleData The codeunit that is called to load data for the diagram. Scheduler.DataPagerStep 7 Number of DataUnit to move the view, when clicking the arrows in the top-right corner Scheduler.DataStep 14 Number of DataUnit to show at once Scheduler.DataUnit day Unit used on primary x-axis (minute, hour, day, week, month, year) Scheduler.DateFormat %j. %M Format of the primary x-axis Scheduler.Dragable false Enables dragging tasks around on the graph Scheduler.Lines.Entity System name for the entity containing the lines Scheduler.Lines.Title System name for the field containing the displayed names of lines Scheduler.Resizable false Enables dragging to resize a task Scheduler.RowHeight 50 Height of rows, in pixels Scheduler.SecondFormat %j. %M Format of the secondary x-axis Scheduler.SecondScale false Enables the secondary x-axis Scheduler.SecondUnit day Unit used on secondary x-axis (minute, hour, day, week, month, year) Scheduler.Task.Duration System name for the field containing the duration of the task (in hours) Scheduler.Task.Starts System name for the field containing the start timestamp for the task Scheduler.Tasks.Entity System name for the entity containing the tasks Scheduler.Tasks.Line System name for the field containing a tasks reference to the line is is on Scheduler.Tasks.Title System name for the field containing the displayed name of a task Developer info Type: CodeunitPagecontent Security: Requires session Classpath: com.tsnocode.integration.dhtmlx.SchedulerTimeline