Hi,
I'm creating two different files (bla.xml and bla_bla.xls) using Report script and trying to save them in different locations what does not work. I changed Context.setSelectedPath(...) for each of them but both of them are going to the same path(last one). I also tried to delete or rename created files with Context.deleteFile(...) / __renameFile(...) commands that did not work also. What is wrong? The Context.deleteFile(...) returns true but keeps the file empty(corrupted). The report has two output file formats: xml and xls. Could be a reason?
Thanks.
Martin Schröder on
Hello Albina,
I did not try it myself, but just a thought:
If you want ot output a second file to a different context, you would need to close the first output object (with writeReport() ) and then create a new output object and set a new path.
Regards, Martin