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

call controladdin from codeunit al bc160

(0) ShareShare
ReportReport
Posted on by

Hello all,

i migrate business central from bc140 to bc160 but in bc160, we can't use dotnet variables in cloud.

So i tried to use js with controladdin. I saw in MS doc that controladdin is only be called in page.

Is it possible to called it from codeunit?

or is there a way to bypass ?

Any help will be appreciated.

Thanks in Advance

  • Suggested answer
    THE Italian Profile Picture
    Microsoft Employee on at

    You cannot use .NET addins. The best substitution for these are Azure Functions.

    JS Control Add-ins are intended to be used with a UI to the users therefore declared with pages

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 741 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 514 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 336 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans