extend <property>

extend <property>
Description

Often it is desirable to collect more information in the project file than is necessary for task scheduling and resource allocation. To add such information to tasks, resources or accounts the user can extend these properties with user-defined attributes. The new attributes can be text or reference attributes. Optionally the user can specify if the attribute value should be inherited from the enclosing property.

AttributesNameTypeDescription
propertyID

Possible values are task, resource or account

Optional Attributesinherit
Contextproject,
InheritableNoScenario Spec.No

<type> <id> <name>

type:Specifies the type of the user-defined attribute. text is a simple text attribute. reference is an URL to another document.
id:An user-defined ID that is unique within the used-defined task attributes. To avoid conflicts with future built-in attributes, all user defined attributes must start with a capital letter.
name:A short description of the attribute. It will be used as default column header in reports.

project ca "Custom Attributes" "1.0" 2003-05-28 - 2003-06-28 {
  extend task {
    reference MyLink "My Link"
    text MyText "My Text" { inherit }
  }
}

task t "Task" {
  start 2003-05-28
  milestone
  MyLink "http://www.taskjuggler.org" { label "TJ Web" }
  MyText "TaskJuggler is great!"
}