Hello,
How can i export the Manual value for each Task? According to MSProject exportation, that property says if the task is Auto Scheduled or not. I could change de Manual value according to Project Auto Schedule flag, but it’s not specified for each task, it’s global.
[https://codebeautify.org/alleditor/y22068acd](http://XML Task)
Another question, is how to set custom LagFormat value on PredecessorLink Object, inside of Task object.
How can i export the Manual value for each Task? According to MSProject exportation, that property says if the task is Auto Scheduled or not. I could change de Manual value according to Project Auto Schedule flag, but it’s not specified for each task, it’s global.
By default, all tasks are auto-scheduled if you enabled the gantt.config.auto_scheduling parameter. But you can cancel auto-scheduling for the tasks by adding the auto_scheduling parameter to the task object:
Right now, exporting the Manual property is not supported.
But you can export it as a custom property by using the function in the tasks parameter of the export function:
Another question, is how to set custom LagFormat value on PredecessorLink Object, inside of Task object.
That depends on where exactly you want to put it.
If you replace the default value with a custom value in the link object, it won’t work correctly as Gantt will consider it as a link without lag.
If you want to change what is displayed to the user and how the lag is edited, you can use the formatters:
Here is an example:
If you want to change the format in the exported file, it is also not supported. You can only export it as a custom attribute:
Hello Vinicius,
The Manual property is now supported:
The method of importing and exporting with that property is the same: you need to include it in the import and export functions.
You can check how it works in the following snippet:
The LagFormat property is supported in the form of $lag_unit property. When you import MSP files, the LagFormat saved in the $lag_unit property of the link object. When you export to MSP, and the link object has the $lag_unit property, it is saved in the LagFormat parameter in the exported file.
You can check how it works in the following snippet:
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan