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
1
vote
1 answer

Importing a Milestone to Microsoft project is showing %complete as 99

I have a xml which, which has been created through net.sf.mpxj. in xml i have a milestone and a Task which are closed complete. when i import this xml to Microsoft project 2016, MileStone %Complete is changed back to 99%. For task i dont see any…
Akhilesh
  • 67
  • 1
  • 1
  • 5
1
vote
1 answer

How to change Task duration in mpxj?

I have a problem with changing task druation in java using mpxj library. I've created the simple project structure in MS Project 2016 like this: Project structure This is how I am trying to change duration in Java: for (int i = 0; i <…
1
vote
1 answer

How Can I Calculate a Numerical Difference between 2 Durations in Java (Using mpxj Library)?

For example, I want to calculate the duration difference between 2 activities. Activity 1 has a 13 day duration. Activity 2 has a 5 day duration. I know Microsoft Project has difficulties doing operations with Durations. Thanks in advance! Needed…
1
vote
0 answers

Populate a table programmatically with an mpp file in ADF?

I've been trying to fill an ADF file with an .MPP extension file. I was able to print the data in console but I could not pass it to the af - table. I use the InputFile component and I put its ValueChangeListener, in its method is where I command to…
1
vote
1 answer

Error Reading Asta/Power Project

using ruby mpxj I get the following error reading a asta/power project file /var/lib/gems/2.3.0/gems/mpxj-5.2.2/lib/mpxj/reader.rb:24:in `read': Failed to read file: Reading input file started. (RuntimeError) java.lang.UnsupportedOperationException …
1
vote
1 answer

What has been changed to the MPXJ library used to access MS Project 2010?

I have an old project that uses MPXJ library to access MS Project 2010. However it doesn't get the files save as Project 2010 format even if I uses the latest MPXJ 4.0. What else do I need to do to get the files of that format? I've searched MPXJ…
newguy
  • 5,668
  • 12
  • 55
  • 95
1
vote
2 answers

Accessing mpp file in nodejs

I need to access and get data from .mpp file(MS Project). Anyone tell me if there is a node module available to access mpp ?
Aravinth
  • 397
  • 1
  • 4
  • 19
1
vote
1 answer

MPXJ library is interop based

I am using MPXJ library to access Microsoft Project file in .net. before proceeding with it i wanted to make sure either it is based on Microsoft Interop services or not. i hope not :)
adnan
  • 53
  • 4
1
vote
1 answer

How to Fetch Task Notes from MS Project File (.mpp) if an Image/text is Attached to it

I have been trying to fetch Notes attached to a task using the MPXJ library,using the method getNotes() from the class net.sf.mpxj.Task However the return type of the method is a String, and you can even insert Images and other Files as notes to…
Abhishek
  • 438
  • 1
  • 6
  • 16
1
vote
2 answers

How to convert HttpPostedFileBase file to Java.Io.InputStream?

I'm working on ASP.net with the MPXJ library. The .net version of MPXJ has been created using IKVM. Currently, I have a big problem: After upload a file (Microsoft Project file - .mpp file) to server (I don't need to save it), I want to convert…
PeaceInMind
  • 1,147
  • 3
  • 11
  • 32
1
vote
1 answer

MS Project showing incorrect start date and enddate

I'm using mpxj 4.5 to export ms project. When i open mpx file by ms project, I'm getting incorrect start date and finish date, but it's calculating duration correctly. What am i doing wrong, please tell. To create mpx task I use following parametrs…
john7887
  • 13
  • 3
1
vote
2 answers

Getting values from Custom-Named Columns

I'm working with an MPP file that has some additional columns with names like "Text5", "Text10", etc. Obviously these are not default columns with simple access through the Task class. I've seen the Column class, but don't see a way to access…
brydgesk
  • 864
  • 1
  • 8
  • 14
1
vote
1 answer

GetResourceNames returns null for MPXJ Task method

I am trying to extract the basic task and resource information from an MS Project 2010 .mpp file using MPXJ - Java. I have no problem opening up the file and dumping all the tasks, but the problem comes in when trying to access the resources…
1
vote
1 answer

Will MPXJ Api calculate endDate automatically before writing to .MPX file?

I am using MPXJ Java Api to create,read Microsoft Project Planner files in Java..I found out a specific problem while executing the code..The code executes the file is created ...My question is will this API calculate the Duration,EndDate etc…
Kabilan S
  • 1,104
  • 4
  • 15
  • 31
0
votes
3 answers

converting values of java.util.list to string or other normal format in vb

in my application, I am pulling in items from a microsoft project file using mpxj - one of the items I need is the predecessors. The way I am able to pull the predecessor is using a build in function of mpxj which returns a type of java.util.list -…
njj56
  • 611
  • 4
  • 19
  • 51