Hi,
I am trying to typecast the object to an excel format and add some hyperlinks. I am trying to get the output object after WriteReport(). Below are the code snippet.
var outObj= Context.createOutputObject();
//Creating a table in below method.
file.BeginTable(.......
file.DefineF("He.......
file.DefineF("He.......
file.DefineF("Co.......
file.DefineF("Re.......
file.TableRow();.......
//file.TableCell.......
file.TableCell(p.......
file.TableRow();
//file.TableCell.......
file.TableCell(".......
file.TableRow();
....
outObj.WriteReport();
//Then trying manipulate the data
var excelSheet = Context.getFile("sample.xls", Constants.LOCATION_OUTPUT);
Here I am getting null value for excelSheet .
Could you please guide me if I am missing anything.