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

Dynamically create a web-service

(0) ShareShare
ReportReport
Posted on by 905

Is there a way of programmatically creating a query web service at run-time in an AL extension (i.e.) Offer a list of tables to the user and then create and publish a query webservice for all fields in the selected table? This is not to be confused with the WSPublishing.xml file that can be included in an AL extension at design-time for deployment purposes.

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at

    You can dinamically publish a page as ws (see here):

    https://demiliani.com/2018/09/05/dynamics-365-business-central-publishing-a-web-service-from-extensions/amp/

    but creating the object dinamically (page or query AL definition) and publish it (all from an extension’s code) is not possible. Creating and publishing objects from extensions code could be also dangerous for security and privacy reasons.

  • CasseyWilliams Profile Picture
    10 on at

    Design is very important for marketing, as consumers always pay attention to the visual part. I've found this awesome resource with folded paper that can help make your web page, presentation, etc., look different among others. I think that it can help to create your own style and attract more clients.

  • KamillaEr Profile Picture
    10 on at

    Thanks for providing such info!

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,821 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,122 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans