Questions tagged [mpxj]

MPXJ is a library that provides a set of facilities to allow project information to be manipulated in Java and .NET.

MPXJ is a library that provides a set of facilities to allow project information to be manipulated in Java and .NET. MPXJ supports seven data formats, Microsoft Project Exchange (MPX), Microsoft Project (MPP, MPT), Microsoft Project Data Interchange (MSPDI XML), Microsoft Project Database (MPD), Planner (XML), and Primavera (XER and database).

102 questions
0
votes
1 answer

Any way to automate the process of opening a .mpp file and saving it as a .csv?

I need to find a way to automate the process when a user uploads a microsoft project file to a web application I already have created. The process will need to basically use the save as from project to save into a .csv file so I can use this to…
njj56
  • 611
  • 4
  • 19
  • 51
0
votes
0 answers

How to read mpp file in .net framework 2.0

I want to read mpp file in c#/.net of framework 2.0. i am using MPXJ open source, but unable to use it with .net framework 2.0. How can i use MPXJ with .net framework 2.0. Is there any other way or another application available through which i can…
0
votes
1 answer

IKVM:Failed to initialize JAXP 1.3 DatatypeFactory class.in IKVM.OpenJDK.XML.Bind error

I use ikvm with mpxj project. I have a very simple code like this.... var writer = new MSPDIWriter(); writer.write(project2, ofilename); I get an exception .net, Failed to initialize JAXP 1.3 DatatypeFactory class.in…
Aftershock
  • 5,205
  • 4
  • 51
  • 64
0
votes
1 answer

How to make MPXJ-Library show work column in mpp File using Java

I'm doing an internal Project, in Java, where i have to read an Excel and Parse it into a mpp respectively a MS Project compatible .xml file. I'm creating the file and everythings working fine. But i want to show the columns "Work" and "ID" by…
0
votes
0 answers

How to read XER file in java via MPXJ

I would like know the procedure to read xer file I have tried the below snippet of code to read the file UniversalProjectReader reader = new UniversalProjectReader(); InputStream f = Core.getFileDocumentContent(getContext(),…
D.Stella
  • 1
  • 1
0
votes
0 answers

MPXJ (Java) could not read all the task items in the mpp file

I am trying to read a mpp file using the mpxj library in java. For some files, the program reads perfectly without an issue, but on few files, program skips some tasks. Does somebody have any similar experience? The Mpp file can be checked from the…
0
votes
1 answer

MPXJ - how to get MSP Field List

We are using MPXJ v10.5. We are implementing with mpxj-for-csharp.dll. We want to provide our users with a pick list of all of the default MSP Task Fields and also any user Custom Fields added. The the Field Name is all we need. We believe we have…
midnite11
  • 81
  • 1
  • 10
0
votes
0 answers

Get custom field value for task in mpp file using mpxj

I am trying to fetch value set for a custom field for a task in a mpp file. Please help me find the right method in mpxj.mpp library. I have tried the below code: object fld = task.getFieldByAlias("EPC"); if (fld != null) Console.WriteLine("Custom…
Priya
  • 1
0
votes
1 answer

Read all rows and columns in MS project via MPXJ library using python

So am trying to read .mpp file in python using MPXJ library, i was able to get task Name, respective task start/end date etc. I want to get the respective type for these datas as well. And also I want to read all the columns and their respective…
Kannan T
  • 1,639
  • 5
  • 18
  • 29
0
votes
0 answers

Python error while reading MS project .mpp file using mpxj module in Rstudio

I am trying to read .mpp MS project file using python mpxj but it throwing invalid file format error.Below is code chunk and output error image.please anyone can help on this.ASAPcode in python output with error
0
votes
0 answers

How to get Sprint field data in C# from MS Project mpp file via MPXJ?

I'm working on a project where I have to extract data from mpp files, that are Sprint Project files. I'm using MPXJ, and now stuck as I cannot seem to find a way to retrieve data from the 'Sprint' and 'Boad Status' fields. I have tried the…
Daniel
  • 25
  • 5
0
votes
1 answer

Reading task enterprise custom field values from mpp file using mpxj

I'm trying to read task details from a mpp file using net.sf.mpxj library. However, when trying to read custom fields, I get a byte array which I do not know what to do with! It is not the exact value of the custom field from that specific task. Can…
0
votes
1 answer

Baseline dates not getting exported in PMXML file using MPXJ library

I am trying to write a PMXML file using MPXJ 9.3.1 library. While generating the PMXML file, am setting the baseline dates for all tasks using the setBaselineStart and setBaselineFinish methods of the MPXJ Task class. But the generated PMXML file is…
Patruni Srikanth
  • 741
  • 1
  • 7
  • 14
0
votes
1 answer

MPXJ consistently adds blank task name...is MPXJ better than Interop?

I'm trying to use MPXJ to create project file from a hierarchy that exists in my code. The following hierarchy needs to be converted: Division Customer Contract Projects Project details (start/end dates, etc.) My code for creating the…
Thelonias
  • 2,918
  • 3
  • 29
  • 63
0
votes
0 answers

Filter column in MPP thru Project Interop or MPXJ

I have to read MS Project (MPP) file thru C# however catch is I have to implement filter on runtime and read and do certain processes on top of it. I have looked or tried if I could do filter by columns either thru Ms Project Interop or MPXJ but…
user1480864
  • 1,455
  • 3
  • 16
  • 23