Share via

Importing and Exporting a Split Task

Anonymous
2014-01-30T07:37:34+00:00

Good day,

I need to import project data from another application to MS project and I need to make use of a Split Task. When using excel to export a MS project with split tasks, the split related information of the task does not export and there does not seem to be a mapping available for split tasks.

When using XML the import/export works but it is not clear which fields are used in the XML file to  "define" the split information.

I would appreciate any suggestions on how to do this. I am proficient in VBA/SQL so a VBA/SQL solution would do as well.

Regards

Joshua

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2014-01-30T16:03:19+00:00

Hi Joshua,

In exported XML the timephased assignment data will show when a resource is has zero hours assigned (and the task is split). 

If you see:

<Value> PT0H0M0S</Value>

That is a period where the task is split a the assignment has zero work.

-<TimephasedData>

<Type>1</Type>

<UID>2</UID>

<Start>2014-02-03T08:00:00</Start>

<Finish>2014-02-03T17:00:00</Finish>

<Unit>2</Unit>

<Value>PT8H0M0S</Value>

</TimephasedData>

-<TimephasedData>

<Type>1</Type>

<UID>2</UID>

<Start>2014-02-03T17:00:00</Start>

<Finish>2014-02-04T17:00:00</Finish>

<Unit>2</Unit>

<Value>PT0H0M0S</Value>

</TimephasedData>

-<TimephasedData>

<Type>1</Type>

<UID>2</UID>

<Start>2014-02-04T17:00:00</Start>

<Finish>2014-02-05T17:00:00</Finish>

<Unit>2</Unit>

<Value>PT8H0M0S</Value>

</TimephasedData>

<T

Was this answer helpful?

0 comments No comments

Answer accepted by question author

John Project 49,710 Reputation points Volunteer Moderator
2014-01-30T15:40:48+00:00

Joshua,

Because the start and stop points for a split task are not accessible fields, a normal import map will not work for split tasks. If you want to use XML, you might start with the following link:

http://msdn.microsoft.com/en-us/library/bb428843.aspx.

Personally I would use VBA. The split parts are accessible through VBA using the SplitParts Collection Object.

John

Was this answer helpful?

0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Anonymous
    2014-01-31T19:19:50+00:00

    Great and thanks for the feedback.

    Was this answer helpful?

    0 comments No comments
  2. John Project 49,710 Reputation points Volunteer Moderator
    2014-01-31T16:25:02+00:00

    Joshua_748,

    You're welcome and thanks for the feedback.

    John

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2014-01-31T06:14:19+00:00

    Thanks for the info! Both the xml and VBA options will do the job...

    Was this answer helpful?

    0 comments No comments