web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

disable custom button with action trigger on mulitple select

(2) ShareShare
ReportReport
Posted on by 123
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
 
 
 
 
 
I have the same question (0)
  • Suggested answer
    Pallavi Phade Profile Picture
    1,383 on at
    disable custom button with action trigger on mulitple select
     
    Can you do below things and verify . We usually do this to make action visible and to execute script.
     
    1) Remove Page-Link and add necessary filters to table and run the action
    2) Add below Properties 
    3) Add script in Trigger - OnAction() . I used xmlport , you can use your object 

     
    IF you feel this helped , Mark as "Verified"
     
    Regards
    Pallavi Phade

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sumit Singh Profile Picture

Sumit Singh 3,152

#2
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,944

#3
Sohail Ahmed Profile Picture

Sohail Ahmed 2,444 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans