Notifications
Announcements
No record found.
Any Code is there
*This post is locked for comments
Hi,
What is your Question here?
Thanks
Suresh
Hi Suresh,
how to create and use objects of managed types from within X++ code
You can use managed APIs from assemblies that are added to the references node in the AOT
plz explain in detail
Please refer the below link:
https://msdn.microsoft.com/en-us/library/cc598160.aspx
https://msdn.microsoft.com/en-us/library/gg889157.aspx
I NEED IN X++ CODE
Hi John,
You should check these links below, they will show you how you can use managed APIs in X++
here is another small booklet
public client static boolean copyFile(str fileName, str newFileName, boolean overwrite = false)
{
try
System.IO.File::Copy(fileName, newFileName, overwrite);
return true;
}
catch(Exception::CLRError)
return false;
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2