TablePager pager = vWorksheet.getTopTablePager();
generateRowsUsingPager(pager, vWorksheet, vWorksheet.getHeaderViewNodes(), fileWriter,"");
fileWriter.close();
if(importAsWorksheet) {
JsonImport jsonImp = new JsonImport(new File(fileLocalPath), newWorksheetName, finalWorkspace, "utf-8", -1, null);
jsonImp.generateWorksheet();
newWSId = jsonImp.getWorksheet().getId();
new WorksheetListUpdate().applyUpdate(vWorkspace);
}
} catch(Exception ie) {