How to modify Object identifiers

Hi ,

Is there any way to change object identifiers in Doors (Even DXL). If it is not  Possible what is the advantage of having predefined ID's. One of our customer requirement is for Own requirement ID Creation according to their specification.

Thanks & Regards

Nikhitha


jaguar - Mon Jul 01 08:19:44 EDT 2013

Re: How to modify Object identifiers
Tony_Goodman - Mon Jul 01 09:03:30 EDT 2013

You cannot change object identifiers.

The advantage of DOORS identifiers is that they are guaranteed unique and cannot be changed.

If you have to use your own hand-crafted identifiers then you will need to create another attribute for this purpose and use that.

Re: How to modify Object identifiers
jaguar - Wed Jul 10 06:42:41 EDT 2013

Tony_Goodman - Mon Jul 01 09:03:30 EDT 2013

You cannot change object identifiers.

The advantage of DOORS identifiers is that they are guaranteed unique and cannot be changed.

If you have to use your own hand-crafted identifiers then you will need to create another attribute for this purpose and use that.

Hi Tony,

We suggested to create an attribute column with type specification and use it but the problem is for each requirement manually we have to type ID with different prefix which is difficult and time consuming if there are thousands of Requirements. IS there any automated way to do this. It would be a great help.

Thanks & Regards

Nikhitha

 

Re: How to modify Object identifiers
PDU - Thu Jul 11 01:15:08 EDT 2013

jaguar - Wed Jul 10 06:42:41 EDT 2013

Hi Tony,

We suggested to create an attribute column with type specification and use it but the problem is for each requirement manually we have to type ID with different prefix which is difficult and time consuming if there are thousands of Requirements. IS there any automated way to do this. It would be a great help.

Thanks & Regards

Nikhitha

 

Hi,

S there any automated way to do this

perhaps yes, perhaps no, depends of specifications for creating requirements ID.

 

Pierre

Re: How to modify Object identifiers
jaguar - Thu Jul 11 05:27:28 EDT 2013

PDU - Thu Jul 11 01:15:08 EDT 2013

Hi,

S there any automated way to do this

perhaps yes, perhaps no, depends of specifications for creating requirements ID.

 

Pierre

Hi,

Please find below specification and suggest a way ahead.

XYZ_SRD_FUN_3.2.2.1

XYZ_SRD_DER_3.2.2.1.1

XYZ_SRD_DER_3.2.2.1.1.1

XYZ_SRD_FUN_3.2.2.2

GIR-MPC_SRD_FUN_3.2.2.3

GIR_MPC_SRD_DER_3.2.2.4

 

Regards

Nikhitha

 

Re: How to modify Object identifiers
PDU - Thu Jul 11 05:49:39 EDT 2013

jaguar - Thu Jul 11 05:27:28 EDT 2013

Hi,

Please find below specification and suggest a way ahead.

XYZ_SRD_FUN_3.2.2.1

XYZ_SRD_DER_3.2.2.1.1

XYZ_SRD_DER_3.2.2.1.1.1

XYZ_SRD_FUN_3.2.2.2

GIR-MPC_SRD_FUN_3.2.2.3

GIR_MPC_SRD_DER_3.2.2.4

 

Regards

Nikhitha

 

What are

XYZ

SRD

FUN

3.2.2.1 , ...

Headings ?

Re: How to modify Object identifiers
Pekka_Makinen - Thu Jul 11 05:57:52 EDT 2013

jaguar - Thu Jul 11 05:27:28 EDT 2013

Hi,

Please find below specification and suggest a way ahead.

XYZ_SRD_FUN_3.2.2.1

XYZ_SRD_DER_3.2.2.1.1

XYZ_SRD_DER_3.2.2.1.1.1

XYZ_SRD_FUN_3.2.2.2

GIR-MPC_SRD_FUN_3.2.2.3

GIR_MPC_SRD_DER_3.2.2.4

 

Regards

Nikhitha

 

If the parts of your own ID "XYZ_SRD_FUN_3.2.2.1" are as attributes in the module, you can create a combination of these by using the DXL Attribute Wizard. Create a new "String" type attribute and select it to be a DXL Attribute. The "Wizard" button is then activated and you can select which attributes to combine in to the new attribute. Maybe also you want to deselect the "One attribute per line" and "Show attribute names" selections.

Re: How to modify Object identifiers
jaguar - Thu Jul 11 06:57:51 EDT 2013

PDU - Thu Jul 11 05:49:39 EDT 2013

What are

XYZ

SRD

FUN

3.2.2.1 , ...

Headings ?

Hi,

No, Those are their own ID Specifications

XYZ is organization name, SRD-Software Requirement document, Fun-Functional, DER-Derived.

The module format should be

 

Requirement ID

Requirement Content

XYZ_SRD_FUN_3.2.2.1

Extract the Parameters

XYZ_SRD_DER_3.2.2.1.1

Calculate the checksum

XYZ_SRD_DER_3.2.2.1.1.1

Open a file

XYZ_SRD_FUN_3.2.2.2

Calculate the checksum

GIR-MPC_SRD_FUN_3.2.2.3

Open a file

GIR_MPC_SRD_DER_3.2.2.4

Read a file

Nikhitha

Re: How to modify Object identifiers
ChrisHardy68 - Mon Jul 15 23:42:07 EDT 2013

jaguar - Thu Jul 11 06:57:51 EDT 2013

Hi,

No, Those are their own ID Specifications

XYZ is organization name, SRD-Software Requirement document, Fun-Functional, DER-Derived.

The module format should be

 

Requirement ID

Requirement Content

XYZ_SRD_FUN_3.2.2.1

Extract the Parameters

XYZ_SRD_DER_3.2.2.1.1

Calculate the checksum

XYZ_SRD_DER_3.2.2.1.1.1

Open a file

XYZ_SRD_FUN_3.2.2.2

Calculate the checksum

GIR-MPC_SRD_FUN_3.2.2.3

Open a file

GIR_MPC_SRD_DER_3.2.2.4

Read a file

Nikhitha

Hi,

From experience this will case the customer a lot of issues if they try to create DXL to maintain a new ID system

Consider what would happen when new objects are added in between existing objects that have number

Also consider what happens when you delete objects

So I would make a compromise: Use the Objects identifier in place of the numbers, create a new attribute to store the prefix and a layout DXL column that combines the 2

This might not be exactly what the customer is after but trust me it will save them a lot f heartache.

 

Re: How to modify Object identifiers
jaguar - Wed Jul 17 03:06:53 EDT 2013

ChrisHardy68 - Mon Jul 15 23:42:07 EDT 2013

Hi,

From experience this will case the customer a lot of issues if they try to create DXL to maintain a new ID system

Consider what would happen when new objects are added in between existing objects that have number

Also consider what happens when you delete objects

So I would make a compromise: Use the Objects identifier in place of the numbers, create a new attribute to store the prefix and a layout DXL column that combines the 2

This might not be exactly what the customer is after but trust me it will save them a lot f heartache.

 

Hi Chris,

Thank you for your suggestion.

Can you please guide how to create an automated attribute to store different prefixes.

I want know what are problems might  come when new objects are added and deleted.

Nikhitha

Re: How to modify Object identifiers
ChrisHardy68 - Wed Jul 17 03:26:37 EDT 2013

jaguar - Wed Jul 17 03:06:53 EDT 2013

Hi Chris,

Thank you for your suggestion.

Can you please guide how to create an automated attribute to store different prefixes.

I want know what are problems might  come when new objects are added and deleted.

Nikhitha

Have attached a very simple example


Attachments

Section_Prefix.dma

Re: How to modify Object identifiers
ChrisHardy68 - Wed Jul 17 03:28:28 EDT 2013

jaguar - Wed Jul 17 03:06:53 EDT 2013

Hi Chris,

Thank you for your suggestion.

Can you please guide how to create an automated attribute to store different prefixes.

I want know what are problems might  come when new objects are added and deleted.

Nikhitha

Have attached a very simple example


Attachments

Section_Prefix.dma

Re: How to modify Object identifiers
jaguar - Thu Jul 18 06:06:05 EDT 2013

ChrisHardy68 - Wed Jul 17 03:28:28 EDT 2013

Have attached a very simple example

Hi Chris,

Please Provide steps to create an attribute with different Prefixes exactly what you posted as a DMA file. Is it DXL Attribute ?

Nikhitha

Re: How to modify Object identifiers
ChrisHardy68 - Thu Jul 18 22:23:04 EDT 2013

jaguar - Thu Jul 18 06:06:05 EDT 2013

Hi Chris,

Please Provide steps to create an attribute with different Prefixes exactly what you posted as a DMA file. Is it DXL Attribute ?

Nikhitha

Hi

The file posted is a DOORS module archive.

Retore it to your current DOORS database and have a look it - should be fairly self explanatory

Re: How to modify Object identifiers
jaguar - Mon Aug 05 06:02:17 EDT 2013

ChrisHardy68 - Thu Jul 18 22:23:04 EDT 2013

Hi

The file posted is a DOORS module archive.

Retore it to your current DOORS database and have a look it - should be fairly self explanatory

Hi Chris,

I tried the option you suggested,  it is working fine  but the numbering is not in order means if i have 10 objects when ever i insert an object after 5 it is talking 11 there i want 6. Please suggest is there any way to get that format of automated numbering.

 

Re: How to modify Object identifiers
jaguar - Mon Aug 05 06:16:15 EDT 2013

Pekka_Makinen - Thu Jul 11 05:57:52 EDT 2013

If the parts of your own ID "XYZ_SRD_FUN_3.2.2.1" are as attributes in the module, you can create a combination of these by using the DXL Attribute Wizard. Create a new "String" type attribute and select it to be a DXL Attribute. The "Wizard" button is then activated and you can select which attributes to combine in to the new attribute. Maybe also you want to deselect the "One attribute per line" and "Show attribute names" selections.

Hi,

 

I tried your option by creating two attributes. First i created one text type attribute and then created DXL attribute using wizard. After that i  combined Text attribute and Object number attribute(Predefined in doors) .Here the problem is whenever i am trying to enter Object Text it is taking different number like 3.2.2.1.0-1 instead of 3.2.2.1.1. Please suggest a way ahead.

Re: How to modify Object identifiers
PRM - Mon Aug 05 17:49:20 EDT 2013

jaguar - Mon Aug 05 06:02:17 EDT 2013

Hi Chris,

I tried the option you suggested,  it is working fine  but the numbering is not in order means if i have 10 objects when ever i insert an object after 5 it is talking 11 there i want 6. Please suggest is there any way to get that format of automated numbering.

 

It sounds like you want your ID's to be numbered in a top to down sequential order. When you insert a new object you want the ID of the inserted object to take the next top down sequential number, and the ID's of all objects after the insertion point to be renumbered accordingly. Why?????

The main objective of ID's is to support traceability and to be able to do that the ID's must be 100% unique - so they are more correctly refered to as Unique ID's. If the ID's keep on changing every time you insert a new object, this will destroy traceability to Test Cases, other requirements and other information. Many other documents that are external to a specification maybe cross referencing to these ID's. If the ID's keep on changing, these cross references are now broken and useless and the authors may not be aware that they have changed.

If the the syntax of ID's are overloaded with a complicated prefix syntax to represent additional information, this makes them harder to maintain, harder to read and the source of typo errors. It's better to keep ID's simple and unique, and use a seperate attribute to convey additional information such as requirement type and top down sequential order, but avoid mixing or concatenating the two together.

Paul Miller
Melbourne Australia

Re: How to modify Object identifiers
Bob_Swan - Wed Aug 21 02:59:36 EDT 2013

jaguar - Mon Aug 05 06:16:15 EDT 2013

Hi,

 

I tried your option by creating two attributes. First i created one text type attribute and then created DXL attribute using wizard. After that i  combined Text attribute and Object number attribute(Predefined in doors) .Here the problem is whenever i am trying to enter Object Text it is taking different number like 3.2.2.1.0-1 instead of 3.2.2.1.1. Please suggest a way ahead.

Use the Absolute number not the object number.

The absolute number is unique and unchanging within the module.

The object number incorporates the hierarchy position/paragraph number and will change as you insert/move/delete objects.

You could also look at the RMF (Requirements Management Framework Add on). That provides many of the tools you need to handle this task. (But does lhave limits on how you define your identifiers.)

Re: How to modify Object identifiers
SkyB - Thu Mar 27 19:47:05 EDT 2014

ChrisHardy68 - Wed Jul 17 03:26:37 EDT 2013

Have attached a very simple example

Chris,

Your script is perfect for what I need to do. Thank you.

I was wondering if it is possible to make it work across all Views. For example, if I switch to a different View and create a new object, the new ID is not generated. I have to switch to the View the script is in for the new ID to be created.

SB