How to disable customised Action Button in the controller, if there is no record?

xaf

#1

Go to properties window of the required action button of the controller. Set SelectionDependencyType property to RequireSingleObject.