Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WBSMasks Element

Office 2007

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The collection of elements that define a work breakdown structure (WBS) mask.


<WBSMasks>
  ComplexTypeValue
</WBSMasks>

Element

Required / Optional

Description

VerifyUniqueCodes

Optional

Indicates whether WBS codes are unique for new tasks.

GenerateCodes

Optional

Indicates whether WBS codes are generated for new tasks.

Prefix

Optional

Prefix for all WBS codes.

WBSMask

Optional

WBS mask that is applied to all tasks in the project.

Minimum: 0

Maximum: 1

In the following example, there are two custom WBSMask levels in the WBS mask. Level one is three numbers, and level two is two lower case letters. The table shows the WBS value for example tasks. Because GenerateCodes = 1, Project generated WBS values for outline levels one and two. Although a task was deleted (the task with UID = 2), the WBS codes are not required to be unique; task T2 has the WBS value 002. The WBS value of the deleted task was also 002.

Task

Task outline level

WBS value

T1

1

001

st1

2

001.aa

st2

2

001.ab

ss1

3

001.ab.1

ss2

3

001.ab.2

T2

1

002

<Project>
   . . .
   <WBSMasks>
      <VerifyUniqueCodes>0</VerifyUniqueCodes>
      <GenerateCodes>1</GenerateCodes>
      <Masks>
         <WBSMask>
            <Level>1</Level>
            <Type>0</Type>
            <Length>3</Length>
            <Separator>.</Separator>
         </WBSMask>
      </Masks>
      <Masks>
         <WBSMask>
            <Level>2</Level>
            <Type>2</Type>
            <Length>2</Length>
            <Separator>.</Separator>
         </WBSMask>
      </Masks>
   </WBSMasks>
   . . .
   <Tasks>
      . . .
      <Task>
         <UID>1</UID>
         <ID>1</ID>
         <Name>T1</Name>
         <Type>1</Type>
         <IsNull>0</IsNull>
         <CreateDate>2007-11-13T14:33:00</CreateDate>
         <WBS>001</WBS>
         <WBSLevel>001</WBSLevel>
         <OutlineNumber>1</OutlineNumber>
         <OutlineLevel>1</OutlineLevel>
         . . .
      </Task>
      <Task>
         <UID>3</UID>
         <ID>2</ID>
         <Name>st1</Name>
         <Type>0</Type>
         <IsNull>0</IsNull>
         <CreateDate>2007-11-13T14:33:00</CreateDate>
         <WBS>001.aa</WBS>
         <WBSLevel>aa</WBSLevel>
         <OutlineNumber>1.1</OutlineNumber>
         <OutlineLevel>2</OutlineLevel>
         . . .
      </Task>
      <Task>
         <UID>4</UID>
         <ID>3</ID>
         <Name>st2</Name>
         <Type>1</Type>
         <IsNull>0</IsNull>
         <CreateDate>2007-11-13T14:33:00</CreateDate>
         <WBS>001.ab</WBS>
         <WBSLevel>ab</WBSLevel>
         <OutlineNumber>1.2</OutlineNumber>
         <OutlineLevel>2</OutlineLevel>
         . . .
      </Task>
      . . .
   </Tasks>
   . . .
</Project>
Show: