Export file to sharepoint

Hi,

Version NAV2013R2.
Customer is using the SEPA export protocol to export a txt file.
The location of this file used to be a network directory (F:\Telebanking\...).

This has to be changed to a new location, that is on sharepoint (https://customer.sharepoint.com/Shared Documents/Telebanking/...).

Report (standaard Nav report 11000012) is currently using dotnet to first save the file and then download it.

<<
ServerTempFileName := FileMgt.ServerTempFileName('xml');
XMLDomDoc.Save(ServerTempFileName);
FileMgt.DownloadToFile(ServerTempFileName,ExportFileName);
>>

Where XMLDomDoc = System.xml (DotNet variable)


Is it possible to change this so the file is stored directly on sharepoint?

Thanks.

Erwin
Sign In or Register to comment.