ITrkItem.Modify (method)

method Modify
Syntax: object.Modify index, value
Parameters:
index As VARIANT -

Attribute Name
value As VARIANT -

Attribute Value
Description:
The Modify method allows the user to modify the item's attributes.

Example:

Dim oTrkItemAgent As Object
Dim oTrkItems As Object
Dim oTrkItem As Object
Set oTrkItemAgent = CreateObject("Tracker.TrkItemAgent")
oTrkItemAgent.Execute oTrkItems
Set oTrkItem = oTrkItems.Item(1)
oTrkItem.Modify "EXT1", "RED"
oTrkItem.CommitChanges


Use the following string values for the Attribute Name paramater when modifying system attributes. (NOTE: These are case sensitive)
"ItemID"
"ItemType"
"Region"
"Location"
"Status"
"ItemClass"
"ExternalHold"
"GroupID"
"Project"
"Service"
"ReferenceID"
"EntryTime"
"ASSOCIATE"
"ModTime"
"CreateTime"