Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

.NET variable error in AL for NAV 2018

(0) ShareShare
ReportReport
Posted on by 4,188

Hi All,

I had used a Digital Signature Addin in NAV 2017 which uses .NET variables, while using the same in NAV 2018 using VS Code (Extensions) It says .NET is not recognized as valid type. After some research I've know that .NET is not supported in AL . I'm upgrading the project so I need this Addin. How to move about?

*This post is locked for comments

  • Suggested answer
    Andrey Baludin Profile Picture
    3,941 on at
    RE: .NET variable error in AL for NAV 2018

    Part of them has been replaced by new data types. For example - HttpClient, XMLDocument e.t.c.

    Full list here:

    docs.microsoft.com/.../devenv-restapi-overview

    For other part you can use Azure Functions, as Stefano wrote.

  • Stefano Demiliani Profile Picture
    37,166 Most Valuable Professional on at
    RE: .NET variable error in AL for NAV 2018

    Unfotunately there's no native support for dotNet variable now in AL. ACTUALLY /maybe things could change in the future) the only sopported and recommended way to use DotNet with AL is by using Azure functions. You can rewrite your .NET code by wrapping it in an Azure function and call it from NAV.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans