Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to copy DOORS system attribute value in user define attribute

 Hi all,

I need DOORS ID to be duplicated or copy in another attribute of same module. I haven't found any way to do this in DOORS.
Do we have DXL script which will copy or duplicate the values or any workaround. Do share the script if it is possible to do using DXL script.




0 votes


Accepted answer

Permanent link
Hi Deepali

You can use an inbuilt feature in IBM Rational DOORS named "DXL Attribute Wizard" using which you can create and modify a DXL attribute that contains the values of other object attributes.

Here are the steps for the same:
  1. Open the Module in question in Exclusive Edit Mode with sufficient access rights for creating a new Attribute. Click on Edit - Attributes - New.
  2. Provide a name for the New Attribute and select "DXL attribute" and then click on "Wizard".
  3. Click "Next" on the Wizard and at step 2 of the wizard, select "Absolute Number" OR "Object Identifier" (as required)
  4. Continue with the remaining steps and if required, you can deselect 'Show attribute/property names'.
  5. Click "Finish".
This should help you in achieving your requirement.

Subsequently, once the attribute has been created, if you are interested in the underlying DXL code which built this attribute, you can indeed click on Edit on the newly created attribute -- on the Edit attribute window, click on "Browse" -- Current. This would show the DXL script too.

Let me know if you have any other questions.

Best regards
Pavan
Deepali Deshmukh selected this answer as the correct answer

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 7,491
× 6,120
× 1,699
× 383

Question asked: May 12 '15, 9:34 a.m.

Question was seen: 11,286 times

Last updated: May 12 '15, 10:08 a.m.

Confirmation Cancel Confirm