Can not export/import task priority to ms-project

Gantt v7

task priority is not exported correctly, the exported value is 500 for all priorities, Is there any way to export a new custom task attribute?

Hello Ayman,
By default, the Priority property is not exported. So, most likely, there is a default value there when you open the file with the MS Project.
You need to manually specify the Priority property in the tasks object of the export function and return the value you need:
https://docs.dhtmlx.com/gantt/desktop__export_msproject.html#exporttomsproject:~:text=tasks%20-%20(object)%20allows%20setting%20custom%20properties%20to%20the%20exported%20task%20items

Here is an example in the snippet:
https://snippet.dhtmlx.com/sxqsozta