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
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://simplanova.com/blog/step-by-step-guide-to-javascript-control-add-in/
https://www.youtube.com/watch?v=MCGpMCqh2No
Hope this helps.
Thanks.
ZHU
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.
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,151 Super User 2024 Season 2
Martin Dráb 229,993 Most Valuable Professional
nmaenpaa 101,156