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

Export to MS Project file

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

3 Replies

PP Pooja Priya Krishna Moorthy Syncfusion Team 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. 

 



MI Micheal 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 


MS Monisha Sivanthilingam Syncfusion Team 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. 


Loader.
Live Chat Icon For mobile
Up arrow icon