Unable to set Calculation % during writing MPP

Please find the below required details from Aspose Team,

Kindly find the below issues in Aspose Task

  1. Unable to set Calculation % during writing MPP.

We already raised this issue in Aspose community for detail follow below link.

  1. Unable to set Text in extended attribute which having predefined lookup values.

Like below in screenshot there are three values in Owner Category dropdown using lookup in MPP template. But when we want to set from code any one of its lookup value that is not being set.

  1. When we are setting calculation mode as automatic then for more than 1000 task it is taking long time to write MPP.

Below is the metrics for task count/time in minute

i. Calculation Mode as Automatic.

S No. Task Count Time Taken to receive message
1 416 3 minutes 30 Seconds.
2 1970 13 minutes 30 Seconds.
3 3844 50 minutes.

ii. Calculation Mode as Manual.

S No. Task Count Time Taken to receive message
1 1565 2 mins 40 seconds.
2 1766 2 mins 10 seconds.
3 2500 3 mins 25 seconds.
4 4001 2 mins 10 seconds.
5 2957 2 mins 20 seconds.

We already raised this issue in Aspose community for detail follow below link.

Regards,
M.Irfan.

Hi Irfan,
Thank you for writing to Aspose support team.

Regarding point 1 and 3:

This issue is already under consideration and in our upcoming release, we have managed to resolve issues which were faced while using NONE mode. You may please wait a little bit and try the new release with None mode as its performance is better in comparison to other modes.

For setting the lookup value of existing extended attribute, you may please use following sample code. Ignore the deprecated warning as that is related to modifying the ValueList. This warning will be removed soon.

Project project1 = new Project(“TextExtendedAttributeWithLookup_out.mpp”);
var taskExtendedAttributeText2 = project1.ExtendedAttributes[0].CreateExtendedAttribute(project1.ExtendedAttributes[0].ValueList[0]);

var task3 = project1.RootTask.Children.Add("Task 3");
task3.ExtendedAttributes.Add(taskExtendedAttributeText2);
project1.Save("TextExtendedAttributeWithLookup_out2.mpp", SaveFileFormat.MPP);