Sample Task Detail View Template

You can use the following sample for customizing the Detail view for the task component.

<html>
<head></head> 
<body> 
<b><b>MS WBS Code:</b> ~~StTaskWBSCode~~<br> 
<b>Attention Notes:</b> ~~StTaskAttentionNotes~~<br> 
<b>Estimated Start:</b> ~~StTaskEstimatedStart~~
<br> 
<b>My Lock:</b> ~~MyLock~~ <br> 
<b>Folder Path:</b> ~~Folder Path~~<br> 
<b>Estimated Hours Variance:</b> ~~StTaskEstimatedHoursVariance~~ <br> 
<b>Task Duration:</b> ~~StTaskDuration~~<br> 
<b>Version:</b> ~~RevisionNumber~~<br> 
<b>Resource IDs:</b> ~~StTaskResourceIDs~~<br> 
<b>Flag:</b> ~~Flag~~ <br> 
<b>Short Comment:</b> ~~ShortComment~~<br> 
<b>Created By:</b> ~~CreatedUserID~~<br> 
<b>Responsibility:</b> ~~StTaskResponsibility~~<br> 
<b>Constraint Date:</b> ~~StTaskConstraintDate~~<br> 
<b>Created Time:</b> ~~CreatedTime~~<br> 
<b>Share State:</b> ~~ShareState~~<br> 
<b>Locked By:</b> ~~ExclusiveLocker~~<br> 
<b>Priority:</b> ~~StTaskPriority~~<br> 
<b>Resource Count:</b> ~~StTaskResourceCount~~<br> 
<b>Estimated Finish:</b> ~~StTaskEstimatedFinish~~<br> 
<b>Actual Start:</b> ~~StTaskActualStart~~<br> 
<b>Actual Finish:</b> ~~StTaskActualFinish~~<br> 
<b>Estimated Hours:</b> ~~StTaskEstimatedHours~~<br> 
<b>Is My Task?:</b> ~~StTaskIsMyTask~~<br> 
<b>Attachment IDs:</b> ~~AttachmentIDs~~<br> 
<b>Estimated Start Variance:</b> ~~StTaskEstimatedStartVariance~~ <br> 
<b>Deleted By:</b> ~~DeletedUserID~~<br> 
<b>Dot Notation:</b> ~~DotNotation~~<br> 
<b>Parent Task ID:</b> ~~StTaskParentID~~<br> 
<b>MS Task Unique ID:</b> ~~StTaskUniqueID~~<br> 
<b>Status:</b> ~~StTaskStatus~~<br> 
<b>Notes:</b> ~~StTaskNotes~~ <br> 
<b>Read Status:</b> ~~ReadStatus~~<br> 
<b>Children Count:</b> ~~ChildrenCount~~<br> 
<b>Constraint Type:</b> ~~StTaskConstraintType~~<br> 
<b>Last Work/Dependency Update:</b> ~~StWorkDependencyLastUpdate~~ <br> 
<b>Modified By:</b> ~~ModifiedUserID~~<br> 
<b>New Revision Comment:</b> ~~NewRevisionComment~~ <br> 
<b>Non-Exclusive Lockers:</b> ~~NonExclusiveLockers~~ <br> 
<b>Resource Names:</b> ~~StTaskResourceNames~~<br> 
<b>Read Status User List:</b> ~~ReadStatusUserList~~ <br> 
<b>Task Type:</b> ~~StTaskType~~<br> 
<b>Estimated Finish Variance:</b> ~~StTaskEstimatedFinishVariance~~ <br> 
<b>Actual Hours:</b> ~~StTaskActualHours~~<br> 
<b>Revision Flags:</b> ~~RevisionFlags~~<br> 
<b>Percent Complete:</b> ~~StTaskPercentComplete~~<br> 
<b>Task Name:</b> ~~StTaskName~~<br> 
<b>Attachment Count:</b> ~~AttachmentCount~~<br> 
<b>CommentID:</b> ~~CommentID~~<br> 
<b>Is Replicated:</b> ~~Is Replicated~~<br> 
<b>Flag User List:</b> ~~FlagUserList~~<br> 
<b>Object ID:</b> ~~ID~~ <br> 
<b>Task Origin:</b> ~~StTaskOrigin~~<br> 
<b>Modified Time:</b> ~~ModifiedTime~~<br> 
<b>MS Project File Name:</b> ~~StTaskMSProjectFileName~~ <br> 
<b>Deleted Time:</b> ~~DeletedTime~~<br> 
<b>Milestone:</b> ~~StTaskMilestone~~<br> 
<b>Work Record Count:</b> ~~WorkRecCount~~<br> 
<b>Configuration Time:</b> ~~ConfigurationTime~~<br> 
<b>Last MS Project Update:</b> ~~StTaskMSProjectLastUpdate~~ <br> 
<b>MS Task GUID:</b> ~~StTaskGUID~~<br> 
<b>End Modified Time:</b> ~~EndModifiedTime~~<br> 
<b>Task Number:</b> ~~StTaskNumber~~<br> 
<b>Needs Attention:</b> ~~StTaskNeedsAttention~~<br> 
<b>Attachment names:</b> ~~AttachmentNames~~<br> 
<b>Comment:</b> ~~Comment~~ <br> 
<b>Read Only:</b> ~~ReadOnly~~ <br>
</body> 
</html>

Fields Used in Detail View Templates

The fields used in the Detail view HTML templates are recognized by the client when they are contained between double tilde ~~ characters. For example: ~~StTaskEstimatedStart~~ represents the estimated start date field found in the Task Properties dialog box. Refer to the link at the bottom of this topic for more information about the fields that you can use in the Detail view templates.