Hi,
I am using below code, when I am trying save in HTML , it is not saving all the tasks in html file but when I am trying to save in xml it is saving all the tasks.
// existing mpp blank file
Project prj = new Project(“KK_TEST.mpp”);
java.util.Calendar c = java.util.Calendar.getInstance();
c.add(java.util.Calendar.DATE, 2);
Task Task1 = prj.addTask(“Task123”);
Task Task2 = prj.addTask(“Task2”);
Task Task3 = prj.addTask(“Task3”);
cal.set(2013, 7, 16, 8, 0, 0);
Task1.setActualStart(cal.getTime());
Task1.setStart(cal.getTime());
prj.save( “test1.html”, SaveFileFormat.HTML);