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

control addin get data from javascript

(0) ShareShare
ReportReport
Posted on by 5

I can send data from al to javascript using control addin ,  is it possible to send data from javascript to al ????

I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    Microsoft Employee on at

    Hello  - We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    I will open this up to the community in case they have something to add.

  • Suggested answer
    JAngle Profile Picture
    150 on at

    Multiple videos here: youtube.com/playlist

    I can recall one with a html notes sending data to AL. Or there is a colour picker video.

  • JJMc Profile Picture
    291 on at

    You only can send data from JavaSript to BC, creating events in JS, and create the correct structure and definition of the ControlAddIn in BC, and using this triggers in the page that you are using this ControlAddin

  • Suggested answer
    matthias_rabus Profile Picture
    160 on at

    Checkout the docs:

    docs.microsoft.com/.../devenv-control-addin-object

    The sample code contains a good example for your case:

    • You need an event in your control addin definition
    • implement the event in your BC page
    • Call the event in javascript (that part is not shown in the sample but it is rather simple)
  • Suggested answer
    YUN ZHU Profile Picture
    98,416 Super User 2026 Season 1 on at

    Hi, just adding others' reply, hope the following also helps.

    https://docs.microsoft.com/en-us/learn/modules/build-control-add-ins/

    pastedimage1650238764426v1.png

    Thanks.

    ZHU

  • Suggested answer
    nourjaa Profile Picture
    5 on at
    bug.png
     

    thank you for your answer, now ,i'm trying to insert autocomplete adress into  business central 

    (https://www.solodev.com/blog/web-design/adding-an-auto-complete-address-field-to-your-forms.stml.

    But, i can't read this script

    <script src="maps.googleapis.com/.../js async defer></script>, it  bugs into  Business central.

    is it possible  to call the script with async defer from  The Scripts property ( reference both external and local scripts ),or is there another solution.

    Thanks.

     

     

  • nourjaa Profile Picture
    5 on at

    thank you for your answer, now ,i'm trying to insert autocomplete adress into  business central 

    (https://www.solodev.com/blog/web-design/adding-an-auto-complete-address-field-to-your-forms.stml.

    But, i can't read this script

    <script src="maps.googleapis.com/.../js async defer></script>, it  bugs into  Business central.

    is it possible  to call the script with async defer from  The Scripts property ( reference both external and local scripts ),or is there another solution.

    Thanks

    7142.bug.png

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,958 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,101 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