SubprojectName Element
The source location of the inserted project.
<SubprojectName>
String(512)Value
</SubprojectName>
Parent Elements
Occurrences
Minimum: 0 Maximum: 1 |
Remarks
The subproject source can be a file or a project in Project Server.
Example
The following example shows a local project file with the full path name C:\Project\P12\XML\Samples\SubProj.mpp inserted as task ID 3 in a master project. The XML file for the master project includes the complete Project element for the inserted project as a child of task ID 3.
<Project xmlns="http://schemas.microsoft.com/project">
. . .
<Tasks>
. . .
<Task>
<UID>4</UID>
<ID>3</ID>
<Name>SubProj</Name>
<Type>1</Type>
. . .
<Summary>1</Summary>
<Critical>1</Critical>
<IsSubproject>1</IsSubproject>
<IsSubprojectReadOnly>0</IsSubprojectReadOnly>
<SubprojectName>C:\Project\P12\XML\Samples\SubProj.mpp</SubprojectName>
<ExternalTask>0</ExternalTask>
. . .
<Project xmlns="http://schemas.microsoft.com/project">
. . .
<Tasks>
<Task>
. . .
</Task>
. . .
</Tasks>
. . .
</Project>
</Task>
</Tasks>
. . .
</Project>