Hi All,
There is a need for development for reading and writing the file in Client directory in NAV 2013 R2 and later will be required in other versions too. Since the 'File' variable File.CREATE and WRITE functions create file in NAV Server, I am using following DOTNET assemblies:
1. DotNet System.IO.File.'mscorlib'
2. DotNet System.IO.Directory.'mscorlib'
3. DotNet System.IO.FileStream.'mscorlib'
I've also set the RunOnClient property to 'Yes' which will create the files in local directory.
However the Dotnet assembly code 'File.Create' creates the file in local directory of client, when the code to File.Write is called NAV throws a lock by another user error. Please let me know the required code, if anybody have writting a code to create file in Local directory using dot net assemblies.
*This post is locked for comments