Hi Team,
Could you please help me in knowing the ways in integrating the .Net DLL in the clicked method of a button in D365.
Regards
Venkat
Hi Venkat,
Please post error message here. That will help everyone to understand the issue.
Hi Sukrut/Ada,
When calling the DLL in the clicked method, I would like to know how to declare the DLL and call the method of respective DLL. When I write Using DLL Name it is throwing a syntax error.
Regards
Venky
What challenge you are facing ?
Hi Venky,
Could you please elaborate "calling the same in the clicked method"?
Hi Ada/Sukrut,
Thank u.
I have the reference and I am facing challenges in calling the same in the clicked method. Can u please help.
Regards
Venky
Dynamics 365 for Operations Visual Studio projects allow X++ code to interact seamlessly with code written in other .Net languages. You can reference the .Net assemblies directly from your Visual Studio project: right click the "References" node under your project, select "Add Reference..."
Once you have a reference to a .Net assembly added, an AxReference element is added to your model and the assembly (dll) is automatically copied to the bin folder of your package.
Then you can call the classes and methods of the .Net dll in your clicked method of the button.
You can add it as a reference and use it in your code
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,219 Super User 2024 Season 2
Martin Dráb 230,056 Most Valuable Professional
nmaenpaa 101,156