Skip to main content

Notifications

Small and medium business | Business Central, N...
Unanswered

VSCODE and Bound Action

(1) ShareShare
ReportReport
Posted on by 90
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
 
  • Steven Renders Profile Picture
    Steven Renders 5,051 Super User 2024 Season 1 on at
    VSCODE and Bound Action
    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.
  • gdrenteria Profile Picture
    gdrenteria 12,290 Most Valuable Professional on at
    VSCODE and Bound Action
  • YUN ZHU Profile Picture
    YUN ZHU 74,036 Super User 2024 Season 2 on at
    VSCODE and Bound Action
    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
  • Saurav.Dhyani Profile Picture
    Saurav.Dhyani 17,965 Super User 2024 Season 2 on at
    VSCODE and Bound Action
    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

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans