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

Free Support Forum - aspose.com

Can I order ExtenedAttribute freely When i export data to MS Project?

I am dongsoon Park

Thanks for your kind reply.

I programmed Exporting Data to MS Project(*.mpp)
So I wondered about ordering ExtenedAttribute freely.
For exemple,
Order is
Wbsid, ExtenedAttribute1, ExtenedAttribute2, planStart, planEnd, Performer, ExtenedAttribute3...

How can i do that?

Have a nice day~

Hi Dongsoon,

Thank you for contacting Aspose support.

Following is a sample code which can be used to render the selected columns in the putout file. Could you please give it a try and let us know your feedback?
private static Project prj = new Project(“D:/Aspose/output.mpp”);
public static void TestTaskDateFields()
SaveOptions options = new PdfSaveOptions();
options.getView().getColumns().remove(4);//Remove any column

//Add any column
options.getView().getColumns().add(new GanttChartColumn(“Finish”, 100, new TaskToColumnTextConverter() {
public String invoke(Task task)
return task.getFinish().toString();

options.getView().getColumns().add(new GanttChartColumn(“ExtendedAttribute”, 100, new TaskToColumnTextConverter() {
public String invoke(Task task)
return task.getExtendedAttribute().get(0).toString();//Get first extended attributes

//options.View.Columns.Add(new GanttChartColumn(“Predecessors”, 100, new TaskToColumnTextConverter(TaskPredecessors)));
prj.save(“D:/Aspose/result GanttChart_Date_Java.pdf”, options);