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
close icon

Support for Ms Project Task's Extended properties

We need to add some custom data to the file generated by Syncfusion WPF Gantt control and exported as Ms Project XML file: is it possible?
We know it is possibile to use TaskAttributeMapping to bind some fields, but we can't find any way to read/write data in the tags as <ExtendedAttribute> of Ms Project XML format <Task>....

Any idea?

Thanks!



3 Replies

SG Sridharan Gajendran Syncfusion Team June 29, 2017 12:01 PM UTC

Hi Gian, 

Thanks for contacting Syncfusion Support. 

We have achieved your requirement of exporting Gantt control custom model to XML format in the sample level. Please find the demo sample from the following location. 

Sample: ExportXML 
 
In the exported XML file, we can edit or add the task by using the <Task> tag. 
 
Thanks, 
Sridharan 



GI Gian June 29, 2017 04:04 PM UTC

Thanks Sridharan!

The example you provided allows to export some custom data, but in the case we need to read back the extra data we saved in the Ms Project XML file?

Project class hasn't a method to import/read XML files directly (and "custom" tags)... I suppose ProjectReader class  can do it, but i can't figure how...

Any idea is appreciated....

Have a nice day,

Gian.




SG Sridharan Gajendran Syncfusion Team June 30, 2017 11:09 AM UTC

Hi Gian, 

Thanks for the update.  

We have achieved the requirement of importing custom model to the Gantt control. Please find the modified sample from the following location. 

Sample: ExportXML 

Thanks, 
Sridharan 


Loader.
Live Chat Icon For mobile
Up arrow icon