Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

Sortable WBS not ex...
 
Notifications
Clear all

Sortable WBS not exported

3 Posts
2 Users
0 Reactions
3,567 Views
 Dan
(@caccia)
Posts: 340
Contributor
Topic starter
 
[#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


 
Posted : 19 Jan 2015 19H46
babynus
(@babynus)
Posts: 14966
Main Contributor 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"


 
Posted : 19 Jan 2015 20H42
 Dan
(@caccia)
Posts: 340
Contributor
Topic starter
 

That sounds like the best solution indeed 🙂
Thanks!


 
Posted : 20 Jan 2015 11H59
Share:

Scroll to Top