Hello,
Small issue I noticed: "sortable WBS" field for Activities and Projects is not exported to Excel (CSV), even though it is selectable in the pop-up window before confirming the export.
Thankfully it seems this can be corrected easily - if I'm not mistaken 🙂 :
in PlanningElement.php, section _fieldsAttributes,
change
"wbsSortable"=>"hidden,noImport",
to
"wbsSortable"=>"hidden,forceExport,noImport",
From what I understand, that attribute was created specifically for this purpose - well done ! :cheer:
As a future improvement, perhaps the export pop-up window where user can select which fields to export should be made to match exactly the fields which can be exported ?
Regards,
caccia
Hi Caccia,
Thanks for reporting this issue.
IMO, the issue is not that wbsSortable is not exported, it is that it is selectable as exportable fields.
Hidden fields should not be proposed for export (if they are not displayed, they should not be visible through export).
But your solution is good, using forceExport attribute.
So fix should be on selectable list, not to display "hidden" fields unless they are also "forceExeport"
That sounds like the best solution indeed 🙂
Thanks!