The Visual Scheduling Add-in Developers Toolbox (VSADT) with AL-API is designed to help you create a tailor-made planning board for your industry solution in Microsoft Dynamics 365 Business Central. In our latest update, VSADT Release 9.0, we have introduced further enhancements to create a highly intuitive and personalized visual scheduler that caters to your specific requirements.
Previously, the context menu was sometimes not fully visible vertically. This problem occurred with large context menus, especially on smaller notebook screens. The context menu is now vertically scrollable if its height exceeds that of the control add-in. The same applies to submenus. This means that the context menu can now be used in its entirety even on smaller screens or when the BC window is not displayed in full-screen mode.
Date lines can now display tooltips, allowing additional information beyond what is shown in the date line caption. Since tooltips can be formatted with a TooltipTemplate object, there are extensive possibilities for customizing and presenting the data stored in the DateLine object.
The previous version introduced the option to define separate tooltips for the constraint symbols, the baseline symbols and the baseline bar, as well as for the outside texts of allocation and activity bars when implementing a specific callback handler. These tooltips can now also be defined statically via TooltipTemplate objects referenced by activity and allocation objects.
In a typical web application, the data is stored on a server or in the cloud. The web client retrieves the data and displays it to the user. For interactions, data also must be sent back to the server. To help developers interpret the result when the user drops a bar, a date line, or a table row at a new position, the callback arguments for the event OnDrop now include the property ProposedMethodCalls. The application interprets the proposed update method that contains only a differential object with the properties that must be changed. This works for all drag-and-drop actions. When the application then wants to execute the proposed methods calls, it can now call the new method ProcessOnDrop.
When auto-scrolling is active while dragging a bar, row, or date row, the active areas at the edges of the view are now divided into four zones: the closer the user drags the object to the edge, the faster the view scrolls. Now the user can also leave the view with the cursor without stopping auto-scrolling. This allows the desired drop position to be found more quickly than before.
Hot-fixing of applications that encounter a warning message from BC
The new boolean setting OnLogWarningsEventsEnabled can disable all warnings that the control add-in sends to the BC page. This option is intended only as first aid in cases where the control add-in triggers so many warnings that BC itself notifies the user.
In general, applications should handle the OnLogWarnings event, especially during development, to identify and fix any inconsistencies in the data loaded into the control add-in. The goal should always be to use the control add-in without warnings, as warnings may indicate real issues in the data handling of the application.
Additionally, developers can make use of the logging feature (see setting LoggingEnabled) to review warnings in the saved log file afterward.
More fluent interactions on the timescale
The arrow buttons in the timescale now adjust the time resolution or time range on the DOM event pointerdown instead of pointerup, allowing continuous changes by holding the pointer down.
Narrowing the time range for PDF documents
With the new start and end options, the saveAsPDF method lets you restrict the time range in the exported PDF.
Extension of color settings
The new setting CalendarGridWeekendColor shows an overlaid rectangle on all weekends. It is recommended to use a color with high transparency here.
The setting SelectionColor now also affects the phantom element used in row drag & drop.
Fixed bugs
As always, several bugs reported by customers and our team have been fixed.