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");
}
Embracing externalities
19 hours ago
No comments:
Post a Comment