web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    92,695 Super User 2025 Season 2 on at
    RE: 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.

    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
    RE: 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.

    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
    92,695 Super User 2025 Season 2 on at
    RE: 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.

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,308

#2
Sumit Singh Profile Picture

Sumit Singh 2,798

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,793

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans