Migrate Object Heading to Name and Object Text to Primary Text
Hi,
Is it possible to migrate the content of Object Heading (Classic) into Name (Next) and Object Text (Classic) into Primary Text (Next)?
I.e. I may have a single object in Classic with "Software Requirement" in Object Heading and "The system shall raise errors within 500ms." in Object Text and want them both in one artifact in DOORS Next, with Heading in Name and Text in Primary Text.
Many thanks in advance
Calum
One answer
There are a lot of reasons why you don't want to do that:
- Next is not the same beast as Classic as I'm sure you know. Modules are no longer the containers for artefacts and you can reuse artefacts across multiple contexts. In each of these contexts the artefact can be treated like a Heading or not, and the Primary Text will be formatted accordingly
- The Name attribute is an overridable calculated field. If you don't explicitly put something in it, then it will default to the first sentence or the first 255 characters of the Primary Text. This makes it useful when you need a summary of very long Primary Text, or when there's stuff that doesn't represent well as text when exported
- the default view for a folder or Collection uses the Name attribute to maximise screen real estate. The default view for a Module is the Primary Text formatted according to the style that module is using (Heading or Content). If you take the approach you suggest, you'll end up with messed up views in both places
I would suggest that the best approach is to go back to DOORS Classic and make sure only one of those attributes is filled at any one time - splitting ones that have both filled into two separate objects
Comments
Calum Button
May 27 '22, 3:21 a.m.