Export CDT to Excel Smart Service

Hi,

I am using the 'Export CDT To Excel' smart service to export report data to excel. There are multiple tabs in my template/output document which gets generated. I have a requirement to update my column header in second tab from tab1 cell (cell gets updated by smart service).  I am just referring cell value in another tab header using excel formula 'firsttabname'!cell.

The header is not getting updated with cell value. Is this smart service support this? any pointers will be appreciated.

 

Thanks.

  Discussion posts and replies are publicly visible

Parents Reply
  • Thanks Josh.

    what is the solution for this issue ?
    does that smart service (Export CDT to Excel) need to be enhanced ?

    Or.. do I need to create a wrapper smart service to take input as exported excel document and re-create formatted document something like below ?

    Now modify the workbook with POI:
    Workbook wb = WorkbookFactory.create(new FileInputStream("workbook.xls"));

    Sheet sh = wb.getSheetAt(0);
    sh.getRow(0).getCell(0).setCellValue(2); // set A1=2

    FileOutputStream out = new FileOutputStream("workbook2.xls");
    wb.write(out);
    out.close();


    Thx
Children