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

Announcements

No record found.

News and Announcements icon
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 154
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,214 Super User 2026 Season 1 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,419 User Group Leader 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
    32,685 Super User 2026 Season 1 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
    100,629 Super User 2026 Season 1 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

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,036 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,179 Super User 2026 Season 1

#3
AndrewThomas81 Profile Picture

AndrewThomas81 828

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans