Forum

Sortable WBS not ex...
 
Notifications
Retirer tout

Sortable WBS not exported

3 Posts
2 Utilisateurs
0 Reactions
3,538 Vu
 Dan
(@caccia)
Posts: 340
Honorable Member
Début du sujet
 
[#2160]

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


 
Posté : 19/01/2015 7:46 pm
(@babynus)
Posts: 14952
Membre Admin
 

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"


 
Posté : 19/01/2015 8:42 pm
 Dan
(@caccia)
Posts: 340
Honorable Member
Début du sujet
 

That sounds like the best solution indeed 🙂
Thanks!


 
Posté : 20/01/2015 11:59 am
Share:
Retour en haut