Hi to all, I'm trying to resolve one complicated problem, so every idea is welcome
I'm creating .txt file using codeunit which need to be created on my client's computer. But..
info:
*My client logs to the server using instance with Credential Type:NavUserPassword and using Certificate.
problem
*The destination where I like to save the file is declared in field in table. When the codeunit read destination and try to save the .txt file there, it gives message that path is not found or if destination on the server exist he actually saves the file on the server, not on my local (client's) machine.
Does any of you guys have idea how to resolve this.
Many thanks to all.
Best regards
0
Answers
>> I suppose you're using NAV2013R2 or NAV2015 so this post is in a wrong topic (not Navision Attain) <<
In the 3Tier environment everything is happening on the service tier (= on the server) so you have two options:
- create the file on the client using DotNet variable with RunOnClient = Yes
- create the file on the server and copy it to the client (File Management codeunit, DOWNLOAD command, DotNet)
BR
Thank you azatoth again.
Best Regards