When I tried to read mpp file I found 2 issues below:
1) The name of Resource’s Calendar is always null. 2) Aspose lacks Resource Type = Cost (although Microsoft Project supports 3 types for Resource: Work, Material and Cost).
Could you please check it asap. Thank you so much!
I have linked one existing issue ‘Missing resource calendar’s name when read project data from MPP file.’ with ID = 21623 to your forum thread. The issue is in coming December plans.
And I have created a new issue ‘Incorrect cost resource’s type reading from MS Project 2007/2010 MPP files.’ with ID = 21864 and linked it to this forum thread too. This issue is in our December plans as well.
We are in development, and in urgent for solving these issues to use in our product that will be released in late December, Could you please make a patch ASAP for us with these 2 solved bugs only so that we can use in our product ? The product that we will release is very mission-critical to us.
The first issue is under development currently and we can shift it to this month release. The second one needs some investigation before but we’ll try.
We have completed the second issue investigation. The problem is only with MS Project 2007 MPP files. You can check resource’s IsCostResource flag to define if the resource is a cost resource. You can find the element description in MS Project Data Interchange Schema reference here and in our documentation here.
We are going to fix the issue for MS Project 2007 MPP files in this month release. The product documentation will be updated accordingly.
The second issue also occurs with MS Project 2010 MPP/XML and 2007 XML file Yes, I have been using this field to check whether the resource is a cost resource or not. I just wanna notify to you this issue.
Thank you for your time and consideration again. Am looking forward to seeing the next release. It’s so important for our product.
Could you please attach the XML and MS Project 2010 MPP file to this forum thread (put it in zip archive and use File attachment Add/Update button)? Or you can send it by e-mail using Contact/Send e-mail forum’s feature.
It can help us understand the problem at our side.
Sorry for my misunderstanding. We have updated MS Project 2007 MPP files reading by adding support of IsCostResource flag and going to include it in the next release.
But now you have to check the flag (IsCostResource) to define if the resource is a Cost resource, if flag is false you can check resource’s type to define if it’s a Work resource or Material one. I think MS implemented the approach for XML schema backward compatibility and we followed them.
We need some time to understand if we can just add the third value (Cost) to ResourceType enumeration without any impact on customers who use the old approach.
The same is true for Budget resource, the feature is under development now but the MS Project Data Interchange Schema has a separate flag for it too (see the flag description here).