Hello team,
Sorry for my English, not good.
I need to export custom columns from an MPP to a CSV but the system only exports the following columns.
I.D; Name of the homework; Outline_Level; Duration; Start date; Finish date; Percent_Comp; Cost; Work
The columns I have in the MPP file are as follows:
The code I use is the following:
<?php
namespace Aspose\Tasks\WorkingWithProjects;
use com\aspose\tasks\Project as Project;
use com\aspose\tasks\SaveFileFormat as SaveFileFormat;
class SaveProjectDataToExcel{
public static function run($dataDir=null){
$dataDir = __DIR__ . '/data/Proyecto.mpp';
# Instantiate project object
$project = new Project($dataDir);
# Save the Project as XLSX
$saveFileFormat=new SaveFileFormat();
$project->save(__DIR__ . "/data/Project.csv", $saveFileFormat->CSV);
}
}
?>
Could you help me?