In a C# snippet shape, or in aspx code you can use the following to Get and/or Set a Custom Attribute.
if (api.GetCustomAttr(pi.WorkObjectID,"MyAttrName") == null)
{
api.SetCustomAttr(pi.WorkObjectID,"MyAttrName","My Custom Attr Value");
}
Tuesday, 17 June 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment