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 :
Business Central forum

How to call javascript function in Dynamics 365 Business Central

(0) ShareShare
ReportReport
Posted on by 449

Hello Everyone,

I need to call  javascript function in Dynamics 365 Business Central. Please suggest how to call it.

Have created a "JavaScript.js" in visual studio Code, which contains a javascript function "XYZ()". How to call this function on Sales Order Page, under a Button "GetFuction".

Thanks.

Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    You have to create a Javascript addin for D365BC or it's not possible.

    Check here:

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

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans