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 911

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.

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 664 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 446 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 282 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans