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:
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
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