Greetings -
Does anyone know whether NAV can reference public static strings in .net components? I've built a lot of functionality using a third party .net component through C/AL interop, and it's working great. My last step was to purchase the component and get a license key. I did that, but I am unable to pass the license key into the .net object through C/AL...NAV simply doesn't see the "License" property (which the developers say is a public static string) at all.
Any advice would be appreciated.
0
Comments
”This is by design, in C/AL .net interop you can only access methods, properties, enums and constructors – and not ‘plain’ members/fields of the class.
As a work around you could either make a wrapper in C# for what you want to access or maybe try to use System.Reflection from C/AL.”
Microsoft - Dynamics NAV