如何获取 PredecessorLink 的值 [Vue.js]


#1

请允许我使用中文陈述我的问题,感谢,我想要获取xml文件中的 PredecessorLink 字段值,按照示例的方法取到的却是 null,请赐教,文件和图片说明如下:custom_column.xml (102.9 KB)


#2

抱歉忘记贴代码了,补充上。


#4

顺便问一下:exportToMSProject 方法,怎么导出 mpp 格式文件


#5

Hello,

Please allow me to state my problem in Chinese, thanks, I want to get the value of the PredecessorLink field in the xml file, but it is null according to the method of the example, please enlighten me, the description of the file and picture is as follows:

Unfortunately, there is no way to get the complex PredecessorLink parameter. Please check the list of available properties that you can import from MS Project:
https://docs.dhtmlx.com/gantt/desktop__tags.html#tasksproperties
In the future, the dev team will extend the list of supported parameters, but I doubt that it will happen in the near future.

By the way: exportToMSProject method, how to export mpp format file

You can import MPP and XML files, and export XML files. Unfortunately, there is no way to export MPP files, and it is a limitation of the MPXJ library:
https://www.mpxj.org/
The export application relies on the MPXJ library to work with MS Project files, which allows reading MPP files but not writing them.


#6

Well, thank you very much.