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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

dynamic action button

(0) ShareShare
ReportReport
Posted on by 25

Hi experts, how to have button name based on value in selected table(then supposedly the number of button will based on the value existed). For example when I click update stock button, then it will show another button based on location, the location supposedly from table (like the picture below). the one that i done is i manually set the button name and so on, so it will not dynamically change if the data in the table changed

pastedimage1686543876968v1.png

I have the same question (0)
  • Suggested answer
    sVerme Profile Picture
    120 on at

    You could create booleans to control which button to show/hide. 

    using triggers to set these booleans to true or false, depending what button you want to show. 

  • jack07 Profile Picture
    25 on at

    let say i dont know how many are there the location values that represent the button, then how the code can be to write in the button area(as the picture)?

    and how to dynamically change the button name based on the value from the location table?

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,664

#2
YUN ZHU Profile Picture

YUN ZHU 960 Super User 2025 Season 2

#3
Jainam M. Kothari Profile Picture

Jainam M. Kothari 773 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans