Hi,
I’ve implement logic as outlined on your site to move tasks from one parent task to another. I now have a requirement to change the task order under the same parent. Is this achievable? If yes, can you provide me with a sample of the code to do so?
e.g. Original Layout
Parent 1
Child 1
Child 2
Child 3
Child 4
New Layout
Parent 1
Child 1
Child 4
Child 2
Child 3
Thanks, Calvin
Hi Calvin,
Thank you for writing to Aspose Support team.
For the sample tasks structure as shared in your query, please try the following code sample that moves the task up in the tasks heirarchy. Please let us know your feedback then.
Sample Code:
Project project = new Project(“P1.mpp”);
Task t1 = project.RootTask.Children.GetByUid(1);
Task t4 = project.RootTask.Children.GetByUid(4);
t1.Children.Add(t4);
t4.OutlineOutdent();
project.Save( “Output.mpp”, SaveFileFormat.MPP);
Hi Calvin,
We have analyzed the requirement in more detail and observed few anomalies. It is logged for further investigation by the product team under Id:TASKS-34578. You will be automatically notified once any update is received in this regard.
Hi Kashif,
Will this task be addressed in the upcoming release, scheduled for the end of April?
Thanks, Calvin
Hi Calvin,
I am glad to share that this enhancement is implemented and will be part of our incoming release. You may please wait for a few days until this new version is released. I will write back here as soon as any updated ETA is available.
Hi Kashif,
What were the anomalies that you encountered that resulted in the creation of Task - 34578? Just so that I’m aware and possibly prevent me from trying to correct (work around) an issue that’s slated to be corrected in the next release.
Thanks, Calvin
Hi Calvin,
The implementation of this feature under TASKS-34578 could not be completed as there were a number of recalculations predecessors, successors, assignments, resource assignments and a number of others. These involve a lot of complexity as all the cases need to be considered and that is why we are not able to provide this feature in nearest release.
In this regard the investigation ticket, TASKS-34578 was marked as fixed for investigating the possible implementation of this requirement. However, sub-task with id: TASKS-34599 had been logged for completion of these sub-tasks which is still in-progress. We have linked this thread as well as your thread on PS forum with this new ticket for tracking purpose at your end and notifying you once the issue has been implemented and fix version is available for download. We plan to provide a fix version for this specific requirement by Mid June 2016 and appreciate your understanding in this regard. Please feel free to contact us for your further queries in this regard.
The issues you have found earlier (filed as TASKSNET-708) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by Aspose Notifier.