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

Dynamically create a web-service

(0) ShareShare
ReportReport
Posted on by 903

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)
  • KamillaEr Profile Picture
    10 on at

    Thanks for providing such info!

  • 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.

  • 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.

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,457

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 742 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 669 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans