Hi,
In a current project I am working on, there is a small bit of data I wish to use to tag a versioned item (file) once it has gone thru a custom process. I am building this using the tfs object model and unfortunately I've not been able to find much for resources on understanding the exact nature of the custom attributes.
I am using the versioncontrolserver SetVersionedItemAttribute to attach an attribute to the file. This seems to be working correctly as I can then use GetVersionedItemProperty and see the value as an ArtifactPropertyValue.
An important note here though, GetVersionedItemProperty is tagged as deprecated and the message says to use GetItems instead to retrieve attributes. However, using GetItems and looking at the Item result I cannot find the the property value.
Ultimately, I would really like to be able to set property or attribute and have it appear on the ChangeItem when I retrieve the changes of a changeset. I'm aware you can set an attribute of the changeset itself, but in some cases I might not want all the files within the changeset tagged.
Hopefully I've communicated enough to get the ball rolling. I would really appreciate suggestions or advice on using these systems within TFS. Or recommendation for another approach possibly if there's a better way (within tfs).
Thanks.