Can you please help me on this
I am saving report as pdf on a network drive, we are on citrix with NAV 2016
when I run the code, it works fine but it is not working for other users, I made other users as super user
folder is shared with 'everyone' read/write
report.saveaspdf return true with no error but file is not created in folder
FileName := '\\myfolder\' + Customer2."No." + '.pdf';
ServerTempFile := FileMgmt.ServerTempFileName('pdf');
REPORT.SAVEASPDF(EmailTemplate."Report ID", ServerTempFile, Customer2);
FileMgmt.DownloadToFile(ServerTempFile,FileName); //copy to my network folder
or run directly
REPORT.SAVEASPDF(EmailTemplate."Report ID", FileName, Customer2);
both works for me but not with any other user
Please advise
Thanks
Ajay Jain
UK
2
Answers
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03
UK