- Home
- Forum
- ASP.NET MVC
- Export to MS Project file
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
SIGN IN To post a reply.
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.
Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/XMLImportingService-98419518
To run the service, we need to refer the below dll’s.
- Syncfusion.EJ
- Syncfusion.ProjIO.Base
- XMLImportingHelper
XMLImportingHelper project was used as sub project for XML web service project
Project: http://www.syncfusion.com/downloads/support/directtrac/general/ze/XMLImportingHelper189812648
You can refer the sample and simple XML file from below location:
Sample: http://www.syncfusion.com/downloads/support/directtrac/general/ze/Gantt_ImportExport-2060635757
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.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") {
}
}; |
- Run the sample.
- Perform XML import/export using Toolbar icon.
Please contact us if you require any further assistance.
Regards,
Monisha.
SIGN IN To post a reply.
- 3 Replies
- 4 Participants
-
MM Martin McSharry
- Nov 13, 2019 10:38 AM UTC
- Mar 10, 2021 09:57 AM UTC