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

Export to MS Project file

Thread ID:

Created:

Updated:

Platform:

Replies:

149068 Nov 13,2019 10:38 AM UTC Mar 10,2021 09:57 AM UTC ASP.NET MVC 3
loading
Tags: Gantt
Martin McSharry
Asked On November 13, 2019 10:38 AM UTC

Hi

I made a ticket asking about this functionality a while back: https://www.syncfusion.com/support/directtrac/incidents/236937
We are now getting to the stage where we want to implement this, however, the links are no longer working.
Is this still the way to go to export Gantt to MS Project format, or is there an update to how this is done?
If not, may I please have updated links so I may download the required service and Dlls

Thanks

Pooja Priya Krishna Moorthy [Syncfusion]
Replied On November 14, 2019 09:46 AM UTC

Hi Martin, 

In mentioned ticket we have provided solution to import/export  project XML files. We can’t export/import MPP files. 
We haven’t made any changes to read/write the project XML files and we were able to download the DLL and service projects from the provided links. 
Can you please tell us, what issue you are facing while downloading those files from the link? 

Thanks, 
Pooja Priya K. 

 


Micheal
Replied On March 9, 2021 09:48 AM UTC

Hi,

I cannot open the incident linked in this thread (access denied). Can you please share an example of export/import to XML file? 

Many Thanks,
Micheál 

Monisha Sivanthilingam [Syncfusion]
Replied On March 10, 2021 09:57 AM UTC

Hi Micheál , 
 
We would like to inform you that currently, we do not have support for importing/exporting XML. However, we can achieve this by a work around. By using Syncfusion.ProjIO.Base, we have completed the MS Project XML file import/export. Also, we have a web service to perform import/export operation, and demo sample could be downloaded from below link.  
  
  
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   
  
You can refer the sample and simple XML file from 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 as per 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) {  
                success(this);  
            }  
            else {  
                error(this)  
            }  
        }  
    }  
    xmlHttp.open("post""http://localhost:58262/api/XmlImport/Import"true);  
    xmlHttp.send(getFormData(options));  
}  
function success(e) {  
    importFromJSON(e.response);  
}  
function toolbarClick(args) {  
            if (args.item.id === 'ImportGantt') {  
                document.getElementById("fileupload").click();  
            }  
            else if (args.item.id == "ExportGantt") {  
                xmlExport("http://localhost:58262/api/XmlImport/ExportToXML");  
            }  
        };  
  1. Run the sample.
  2. Perform XML import/export using Toolbar icon.
 
Please contact us if you require any further assistance. 
 
Regards, 
Monisha. 


CONFIRMATION

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