We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Import file .mpp into Syncfusion Gantt

Thread ID:





148838 Nov 5,2019 03:33 PM UTC Nov 6,2019 02:56 PM UTC ASP.NET Web Forms 1
Tags: Gantt
Asked On November 5, 2019 03:33 PM UTC

Import file .mpp into Syncfusion Gantt

I need to import the .mpp file into the gantt. Is there any solution for this? I can't find the "import" command in the Gantt page in the documentation. Exists?

Pooja Priya Krishna Moorthy [Syncfusion]
Replied On November 6, 2019 02:56 PM UTC

Hi Marco, 
Greetings from Syncfusion support. 
Currently we don’t has Syncfusion libraries to read/write .mpp files. But by using Syncfusion.ProjIO.Base library, we can read/write project XML files. We have prepared a work-around solution to import the .xml files. We have prepared a webservice project for XML import option, please find the webservice project from the below location.    
To run the service, we need to refer the below dll’s.    
  1. Syncfusion.EJ
  2. Syncfusion.ProjIO.Base
  3. XMLImportingHelper
XMLImportingHelper project was used as sub project for XML web service project   
And, we have prepared a sample by using the local webservice project, please find the sample from the below location.    
Steps to run the sample:   
1.     Run the Service first.   
2.     Then copy the URL of the web service and replace in the sample, refer the below code snippet.   
/*Import method for XML formatted file*/   
function xmlImport(options) { 
    var xmlHttp = new XMLHttpRequest(); 
    xmlHttp.onreadystatechange = function () {      
        if (xmlHttp.readyState === 4) { 
            if (xmlHttp.status === 200) { 
            else { 
    xmlHttp.open("post", "http://localhost:58262/api/XmlImport/Import", true); 
  1. Then run the sample.
  2. Perform XML import by clicking the button.
Please get back to us if you require further assistance on this. 
Pooja Priya K. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon