Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

How do I use the magicpath properly?

$
0
0
Hello community,

I am creating an export of html files which are stored in BLOBs. The export is no problem, but I want to suppress the saving dialog since the export is able to contain 300 and more files at once.
For the export I use COD 419.BLOBExport. The call looks like this:
TempBlobGlob	        Record	        TempBlob	
FileManagementGlob	Codeunit	File Management	
DescriptionGlob	        BigText		
outstrGlob	        OutStream		
DocumentNameLoc         Text


TempBlobGlob.Blob.CREATEOUTSTREAM(outstrGlob, TEXTENCODING::Windows);
DescriptionGlob.WRITE(outstrGlob);
TempBlobGlob.INSERT;
FileManagementGlob.BLOBExport(TempBlobGlob,DocumentNameLoc,FALSE);

With the 3rd parameter set to FALSE, the export downloads the files to the NAV server’s temporary folder.

Can anyone tell me how to get the temporary files from there, saving them with the specified name (DocumentNameLoc) and in the correct directory? The directory is defined in the setup of my application.

Thanks in advance

Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>