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

how to check the replacement of .net variable in the cloud extension? can anyone please guide me for the same? for an example Convert: DotNet Convert,ByteArray: DotNet Array,MemoryStream: DotNet MemoryStream etc.

(0) ShareShare
ReportReport
Posted on by 15

How to find the replacement of .net variable in the cloud extension? can anyone please guide me for the same?

for an example:

Convert: DotNet Convert,

ByteArray: DotNet Array,

MemoryStream: DotNet MemoryStream and any other dotnet variables that business central cloud not support but in the navision it is used.

I have convereted the objects from nav to bc. that is from c/al to al but in some of the case I stucked into this situation.

thank you in the advance

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    98,231 Super User 2026 Season 1 on at

    Hi, hope the following helps.

    Migrating from .NET Framework to .NET Standard - Business Central | Microsoft Learn

    If it is a SaaS version, consider using Azure Functions

    https://learn.microsoft.com/en-us/training/modules/use-azure-functions/

    Thanks.

    ZHU

  • Bhavsar Siddharth Profile Picture
    15 on at

    hello zhu,

    thank you for the reply.

    I have converted the nav objects to bc object. That is from CAL to AL and now I want to replace the code of .net variable as the cloud environment does not support the .net variables. So I want to keep the code but it does not support on the cloud.

    Thank you in advance.

  • Suggested answer
    YUN ZHU Profile Picture
    98,231 Super User 2026 Season 1 on at

    Yes, there is no way. You have to change your solution. Besides the Azure Function I mentioned above, you can also use Javascript controls.

    https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-control-addin-object

    https://simplanova.com/blog/step-by-step-guide-to-javascript-control-add-in/

    https://www.youtube.com/watch?v=MCGpMCqh2No

    Hope this helps.

    Thanks.

    ZHU

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

#2
YUN ZHU Profile Picture

YUN ZHU 1,084 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 1,047 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans