Hello Team,
My requirement is to read .xer files (mainly used by Primavera P6 project files). Is it possible to read .xer files from Aspose?
Thank you,
Kiran
Hello Team,
Hello Ikram,
Hi Ikram,
This is to update you that Project.Tables collection is used only for MPP format. Tables in XER file cannot be directly mapped on MSP format. If you want to read the “wbs_id” field of the “projweb” table in your sample file “PP_T4.xer”, you may use the following code snippet.
CODE:
Aspose.Tasks.Project objProj = new Aspose.Tasks.Project(@"PP_T4.xer");
Console.WriteLine(objProj.RootTask.Get(Aspose.Tasks.Tsk.Uid));
foreach (var table in objProj.RootTask.Children)
{
Console.WriteLine(table.Get(Aspose.Tasks.Tsk.Uid));
}
This will show the output:
27967
27968
27969
27970