Developing client add-ins
Developing client add-ins covers guidance for building control add-ins in Business Central. It answers questions about performance best practices for calling AL triggers and handling payloads, and about styling add-ins with CSS colors, fonts, and text sizes to match the Business Central look.
- 2Learn pages
- 1videos
Path: Development > Extensibility > Developing client add-ins · tier official · system development · narrative reviewed (checked by Opus)
Overview
This section holds two guidance pages for developers who build control add-ins for Business Central. One covers how add-ins should behave at runtime, the other how they should look. There are no subtopics.
Start with the performance best practices page if an add-in calls AL triggers or sends data between the client and AL. It explains that triggers should be invoked only after previous calls complete and that large payloads should be avoided. Poor performance can lead to reduced functionality warnings and request throttling.
Then use the Control Add-in Style Guide when the add-in shows charts, maps, or third-party content and should look consistent with Business Central. It supplies CSS color palettes, font families, text sizes, status and chart colors, plus contrast and keyboard focus guidance.
Key points
- Invoke AL triggers only after previous calls have completed.
- Avoid excessive payloads between the add-in and AL.
- Poor add-in performance can trigger reduced functionality warnings and request throttling.
- Performance guidance covers callback handling, payload optimization, monitoring, and error handling.
- The style guide gives CSS color palettes, font families, and text sizes that match Business Central.
- Status colors and chart colors are defined for add-ins that display charts, maps, or third-party content.
- The style guide includes contrast guidance and keyboard focus indicators.
Learn pages
- Control add-in performance best practices: Learn how to provide the best possible experience and performance for control add-ins in Business Central.
- Control Add-in Style Guide for Business Central: Style control add-ins for Dynamics 365 Business Central with CSS. Choose colors and fonts, and build readable controls with keyboard access.
Videos and posts
Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.
- Step-by-Step Guide to Custom User Controls in Business Central (community post): “Custom user controls in Business Central use HTML, JavaScript, and AL to create bespoke UI components”
- Embed Visual Studio Code in Business Central (community post): “Embedding Visual Studio Code’s Monaco editor in a Business Central control add-in”
- Dynamics 365 Business Central: Add a Scan Barcode action and scan multiple/Continious scanning (Invoke barcode scanning programmatically from AL) (community post): “invoke barcode scanning programmatically from AL”
- Dynamics 365 Business Central: Add a calculator to the sales order page (community post): “add a calculator control to the sales order page using control add-in objects built with AL and JavaScript”
- Dynamics 365 Business Central: How to add a Signature Pad to the Sales Order page (Capture and Save Customer Signatures) (community post): “Control add-in objects can load the public signature pad JavaScript library”
- Dynamics 365 Business Central: Building a Custom Tree Navigation Menu with Control Add-in (community post): “Control Add-in uses JavaScript and CSS for responsive web client rendering”
- Building the World’s Best ControlAddIn for AL code in Business Central (video): “Building the World’s Best ControlAddIn for AL code in Business Central”
Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.