Skip to main content

Notifications

Announcements

No record found.

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

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,115 Super User 2024 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

  • 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
    YUN ZHU 74,115 Super User 2024 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

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans