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
7
votes
4 answers

How to create .mpp file in java?

I am able to create .mpx file by using mpxj library in java. I need write ( create ) .mpp file in java can any one suggest me please.
Sree
  • 2,792
  • 8
  • 25
  • 33
3
votes
2 answers

MPXJ: get planned work via API

I want to extract the planned work over the time from MS Project using MPXJ. Does anyone know how to get these figures via API? I cannot find any appropriate method for doing this. (Concrete scenario: I want to draw a chart with the planned work on…
Philipp
  • 383
  • 5
  • 20
3
votes
1 answer

Example of MPXJ library in C#

I'm having a heckuva time finding any C# code examples using the MPXJ library when connecting to a Microsoft Project file. Can someone please post a snippet demonstrating how to write the contents of a table in an .mpp file to screen? Bonus points…
Daniel Szabo
  • 7,181
  • 6
  • 48
  • 65
3
votes
2 answers

How to get predecessor id from task predecessor string?

I'm working on MPXJ library. I want to get predecessors id from below string. It's complex for me. Please help me get all predecessors id. Thanks. Task predecessor string: Task Predecessors:[[Relation [Task id=12 uniqueID=145 name=Alibaba1] ->…
user3758681
3
votes
2 answers

Could not load file or assembly IKVM.OpenJDK.Core

I am using MPXJ , a library allowing project information to be manipulated in Java and .Net. (more info at http://mpxj.sourceforge.net/ ) I am working with Visual Studio 2012. When I use the VSTO project template for console application or…
Nipon
  • 31
  • 1
  • 1
  • 3
2
votes
2 answers

Reading/Parsing MS Project MPP java Android 5.0+?

Aloha to all. There is an MPXJ.org project on Java to import MS project files of all versions, but the trouble is that for .mpp files higher than version 2000-2003 .mpp, for files higher than 2003 awt java lib is used awt.Color (getColor) that is…
BIOjack
  • 71
  • 1
  • 9
2
votes
2 answers

MPXJ in .NET converting java Date to .NET DateTime

I'm using the MPXJ library in .NET for parsing MS Project (MPP) files, and it's working great. The one issue I'm having is trying to translate the task Start and Finish date into .NET DateTime to use with my data models. I am going through all the…
Jeff Treuting
  • 13,910
  • 8
  • 36
  • 47
2
votes
1 answer

How to restart unique id counter in mpxj ProjectFile

I have to regenerate a ProjectFile from a previous MPP stored in my database. I remove all tasks and resources and recreate them with refresh data from my system database. I would like to restart the counters of next unique IDs used for creating…
2
votes
2 answers

MS Project shows incorrect start & finish dates after importing MSPDI created by MPXJ

I've created an app based on MpxjCreate sample from MPXJ library distribution. I create several task, some of them with child tasks, & use Task.setStart() / Task.setFinish() for setting task start/finish dates. After I write resulting file using…
32kda
  • 63
  • 6
2
votes
3 answers

How do read .mpp files using MPXJ .net in C# MVC3?

I am trying to read an MS Project File using the .net version of MPJX in C# MVC3. I am using jQuery uploadify to upload the file to my controller. Now, my problem is how to read the ProjectFile from my HttpPostedFileBase file = Request.Files[0]; I…
dmc
  • 807
  • 2
  • 10
  • 25
2
votes
0 answers

A file reader webservice

I want to create a restfull webservice that reads Excel,MPP files and gives me a list of beans for my application. Currently we are using jxl for excel reading and mpxj for mpp. Is there any way i could generalize a file reading service so that it…
user1354304
  • 59
  • 1
  • 7
1
vote
1 answer

Write outline codes with mpxj to a xml file and import it to ms project 2003/2007

Has anybody got mpxj and outlince codes to work with ms project 2003 or 2007? I tried to export outline codes with the following code: ProjectFile project = new ProjectFile(); Task task = project.addTask(); task.setOutlineCode1("outlineCode1"); The…
1
vote
0 answers

Blazor WASM and MPXJ Java.io.inputstream

I am new to Blazor but not mpxj. I have managed to create Blazor code to open a local file into a stream. Then attempting to convert to Java stream using ikvm.io.InputStreamWrapper(stream);. When I debug stream contains data but after conversion…
1
vote
1 answer

Editing/Writing mpp file on c# using mpxj

I'm trying to view and edit Tasks on a mpp file using mpxj on c#. I wrote some lines and tring to write a file that is already complete adding a new Task. But when the code arrives to the write part, it create the file in the path I meant but the…
AleQuad
  • 21
  • 4
1
vote
1 answer

Is there any way to remove or not to include certain xml elements while creating from mpxj library?

currently when working with mpxj library, generated task xml will have following attributes 0 0 Naruto Uzumaki 1 0 ...... ...... I do…
Akhilesh
  • 67
  • 1
  • 1
  • 5
1
2 3 4 5 6 7