We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

I cantn't write wbs ID in the MS project Exporting

Hi

My Name is DongSoon Park

I am export Data to MS Project File.
But i have a problem.

I set wbs Id but in the middle, There isn't data some place.
If you see the picture, There is no data in the middle.
Please help me.

Why There are no data?



// set Task
Task newTask = prj.addTask();
newTask.setWbs(activityID);
newTask.setName(name);
newTask.setOutlineLevel(Integer.parseInt(level) + 1);
newTask.setDuration(Long.valueOf(planDuration));
if (!"".equals(planStart)) {
newTask.setStart(format.parse(planStart));
}
if (!"".equals(planEnd)) {
newTask.setFinish(format.parse(planEnd));
}
if (!"".equals(realEnd)) {
newTask.setActualFinish(format.parse(realEnd));
}

Hi DongSoon,


Thank you for writing to Aspose support again.

I have tried to re-produce this issue using this sample code but am afraid that I could not succeed. Could you please send us the complete console application which can be compiled and executed here to re-produce the scenario? It will help us to provide assistance as soon as possible.