I understand that in Business Central, custom action buttons can be disabled automatically when multiple records are selected on a list page if action button does not have OnAction
trigger.
But how can a custom action button that includes an OnAction
trigger be disabled.
For context, I need to run code from the action button for a selected record, but I want the button to be disabled when multiple records are selected.
thanks