It's all about the answers!

Ask a question

DNG prefixed ID for artifact types - e.g. SR-245

Sean F (1.3k22454) | asked Apr 16 '18, 11:43 a.m.

Is there a way to create a prefixed ID for artifact types within a DNG project and have them display that way.

For example if we have a project which has several types of requirement artifacts and one those types is System Requirement (so we have a System Requirement artifact types defined in the project properties).

Any artifact instances will already have standard DNG ID number e.g. 327

We would like this to be displayed as SR-327 in the DNG interface instead of just 327 and displayable in a module column so that different artifact types have visible type-specific identifiers as you scroll through the module.

(this similar to the module prefix concept in old DOORS 9.x except that it would apply to artifact types instead of modules - which would also make it an improvement on the Old DOORS feature).

Accepted answer

permanent link
Bas Bekker (1.4k4) | answered Apr 16 '18, 12:03 p.m.
edited Apr 16 '18, 12:24 p.m.
Sean F selected this answer as the correct answer

Sean F commented Apr 16 '18, 12:38 p.m.

Thanks Bas

One other answer

permanent link
Matthew OReilly (413) | answered Apr 16 '18, 10:16 p.m.
Hello again Sean ,

I seem to have all the same issues moving from DOORS to RDNG a couple of years ago.

To accomplish this, I created a custom attribute for all artifacts to store a text Prefix (Configuration Item ID)

Then print it out like this in RPE - where CI ID Attr = WIDGET-SRS, gives an output like [WIDGET-SRS-

if (name == "CI ID Attr")
    "[" + value

Your answer

Register or to post your answer.