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...
Unanswered

VSCODE and Bound Action

(1) ShareShare
ReportReport
Posted on by 152
I want to create a Bound Action but having a hard time understanding exactly how to do it.
 
I think you need to create one in vscode first then publish to BC. 
 
What I don't understand is do I then need to create a launch.json and if so
what should the various fields look like:
 
example: would it look like a table that you would launch?
"startupObjectId": 22,           "startupObjectType": "Page",
"startupObjectId": 22,
"startupObjectType": "Page",
 
thanks for any help on this,
Keith
 
I have the same question (0)
  • Saurav.Dhyani Profile Picture
    14,380 Super User 2025 Season 2 on at
    Hi Keith,
     
    Are you referring to Bound actions associated with API Pages?
     
    if yes then you will have to create the API Page and create Bound action attached to it.
     
    You can refer standard API Pages to see how microsoft is creating Bound Actions.
     
    Let me know if you have any questions.
     
     
    Regards,
    Saurav Dhyani
  • YUN ZHU Profile Picture
    95,763 Super User 2025 Season 2 on at
    Hi, It seems that you are a beginner in AL Language. All AL projects have a launch.json file, which is the setting to connect to the development environment.     
          
      
     
    This has nothing to do with the content you develop. Otherwise, hopefully the information below can give you some hints.  
        Dynamics 365  Business Central: How to use Standard/Custom API Bound Actions  
     
    Thanks
    ZHU
  • Gerardo Rentería García Profile Picture
    25,390 Most Valuable Professional on at
  • Steven Renders Profile Picture
    5,672 Moderator on at
    To be honest, if you do not even know how to create a new project in VSCode, AL, I suggest you first take some time to learn the basics:
     
    What you want is a more advanced development task, so I suggest involving an experienced developer.

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,116

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 764 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 635 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans