Dynamic Business Central 365: Understanding AssistEdit Property with Example
The AssistEdit property enhances user experience by adding a contextual Assist Edit (⋯) button to page fields. This allows developers to provide guided input, lookups, validations, or automated logic directly from the field—without forcing users to leave the page or remember complex values.
What Is the AssistEdit Property?
The AssistEdit property enables assist-edit functionality on a Page Field. When set to true, Business Central displays an AssistEdit button next to the field.
Key Details
-
Runtime Version: Available from runtime 1.0
-
Applies To: Page Field
-
Default Value:
false -
Purpose: Provide contextual assistance or custom logic via user interaction
Why Use AssistEdit?
AssistEdit is commonly used when:
-
Users need help selecting or generating values
-
Additional validation or preprocessing is required
-
A field requires context-aware logic
-
You want to improve usability without cluttering the UI
Simple Example: Generating a Reference Number
You want to generate a Document Reference No. automatically when the user clicks the AssistEdit button.
Table Extension: add a new field on Customer
Page Extension (extends default Customer Card)
We extended the Customer Card by adding a custom field and enabled the AssistEdit property on that field. Using the OnAssistEdit trigger, we implemented logic to automatically generate and populate a reference number when the user clicks the AssistEdit (⋯) button. The value is validated and saved directly on the customer record.
CUST-20260108-2230, validates, and savesThis was originally posted here.

Like
Report
*This post is locked for comments