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

Notifications

Announcements

Community site session details

Community site session details

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

Custom API

(1) ShareShare
ReportReport
Posted on by 152
I'm just getting into looking at how to create a Custom API. I have a few questions to see if you can point me into the right direction.
 
1. Using VSCode with the AL extension at some point the new tables and code need to be published.
Where do the tables and  AL code get published to. In order words what environment onPrem or Cloud does the code get executed from?
 
Right now I'm using the free BC cloud version.
 
Thanks,
Dave
 
I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    61,005 Super User 2025 Season 2 on at
    You have to upload the app file to environment that you want once you have completed your custom API created and App file generated in VS Code.
  • Suggested answer
    Saurav.Dhyani Profile Picture
    14,380 Super User 2025 Season 2 on at
    Hi,
     
    The code will execute from the environment where you publish and install your extension.
     
    If you install extension in SaaS it will run from SaaS otherwise if you install extension in on Prem it will run from on Prem environment. 
     
    Regards,
    Saurav Dhyani
  • Suggested answer
    Valentin Castravet Profile Picture
    31,586 Super User 2025 Season 2 on at
    You have to upload your AL code as an extension into the cloud version of BC. If its a sandbox environment you can upload the extension directly from VSCode or by uploading the extension .app file in the application, if its a production environment - you have to upload it using the .app file. 
     
  • Suggested answer
    YUN ZHU Profile Picture
    95,930 Super User 2025 Season 2 on at
    Hi, If you are using the free BC cloud version and publish directly from VS Code, it will be installed to the environment specified in the launch.json file.
    For example,
     
    You can find it on the page below once it is installed.
     
    Hope this helps.
    Thanks.
    ZHU

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

Season of Giving Solutions is Here!

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 1,688

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 784 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 595 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans