It's all about the answers!

Ask a question

How to unarchive deleted Custom Attributes?

Mike Shkolnik (9809161143) | asked Dec 21 '11, 1:17 p.m.
How do I unarchive a deleted custom attribute? I know the attribute still exists in the database because it comes up as "archived" when I create queries.

I was able to make the attribute reappear as active in editor presentations by adding it to the attribute definitions in the XML (see below), but it has no selections - the type is basically being ignored, I assume because somewhere the attribute is still being handled as archived. Queries also still show the attribute as archived. What else do I need to do to fully unarchive this attribute? I have done "synchronize attributes". That makes the attribute appear in the editor, but without the enumerations.

Note that I have associated the attribute with an enumeration that is active rather than the original also-archived enumeration. The case and spelling are correct and the same Type works if I associate it with a new attribute. I need to maintain the old attribute name for external syncing. ifix5

<customAttributes category="">
<customAttribute id="commitment" name="Commitment" type="Phase"/>

<attributeDefinition id="commitment" name="Commitment" type="Phase"/>

3 answers

permanent link
Mike Shkolnik (9809161143) | answered Jan 04 '12, 1:30 p.m.
Has no one ever done this?

permanent link
Scott Crouch (48532426) | answered Jan 04 '12, 4:48 p.m.
I haven't tried this recently. But if I remember correctly, in the eclipse client if you click the "Add" button for a new attribute, then in the bottom of the screen select "Reuse Existing Attribute" you should be able to find the archived attribute.

Edit: I've only used RTC 3.0+, not sure if this is different in 2.0.

Let us know if this worked.

permanent link
Mike Shkolnik (9809161143) | answered Jan 04 '12, 5:43 p.m.
I am not seeing archived attributes in that list.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.