Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Unanswered

VSCODE and Bound Action

Posted on by 74
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,043 Moderator 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 9,472 Most Valuable Professional on at
    VSCODE and Bound Action
  • YUN ZHU Profile Picture
    YUN ZHU 69,639 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,959 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans