It's all about the answers!

Ask a question

What are the disadvantages of creating custom attributes in DNG


Karthik Krishnan (8898121163) | asked Jan 11, 3:32 a.m.

DNG allows us to create custom attributes. I would like to know the disadvantages or limitations of creating custom attributes in DNG. Also is there any limitations on maximum number of custom attributes a component can have?


Thank you. 

2 answers



permanent link
Ian Barnard (2.1k613) | answered Jan 11, 6:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Attributes are defined in the type system which is specific to a configuration, not to the component. AFAIK there aren't any built-in limits but creating too many will likely make it difficult for humans to work with, e.g. to maintain, to understand, to display, to update, to report;, etc. so create only those needed and consider usability. There has been some discussion that humans can typically only really comprehend 7 +/- 2 variables at a time, which may not have hard evidence but is worth bearing in mind. See e.g. The Magical Number Seven, Plus or Minus Two - Wikipedia


There are important guidelines for managing the DOORS Next type system in this useful series of articles https://jazz.net/library/article/92352


permanent link
Diana Kraaijeveld (57727) | answered Jan 11, 5:51 a.m.
JAZZ DEVELOPER
I'm not aware of any limitations to the number of custom attributes.It is very common to define custom attributes.

There are some best practices:
1) Follow the suggested guidelines for maintaining the type system in a configuration management enabled environment (to avoid duplicates and conflicts across streams):

2) Especially if you exchange data with DOORs or other Doors Next projects using ReqIf, we recommend to use consistent RDF URI's for all your custom attributes, data types, enum values and link types (again to avoid duplicates and conflicts).


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.