Setting URIs for Artifact Types and Artifact Attributes when using project to develop a template?
Good day,
Accepted answer
3 other answers
Hi Mary,
One of the key benefits that you get when you assign a URI to your artifact and attribute definitions in a DNG project is that you can then copy data to or from another project which is using the same schema using various methods and the data will then use the existing definitions (artifact or attribute) instead of trying to create duplicates.
When I set up a schema a normally assign the same database-wide common URI to attribute and artifact definitions in different projects for this reason, rather than creating project specific ones.
Creating project specific ones is also more time consuming (if the common URIs are in a template they can be easily re-used) and more prone to error.
Mary
Comments
HTH
Ian
Okay, cool. I think I am good to go now. Thank you for the clarification!!
>>I decide to Import Project Properties from Project A.
What method would you be using to import project properties from A to B?
If it is ReqIF, then, having matching URIs means matching definitions will be recognised and will not create unwanted duplicates.
One of the key purposes of URIs is specifically to mark matching definitions across multiple projects as the same for this kind of operation.
>> how does DOORS NG know the difference between the URIs in the common, say, Artifact Attributes
There should not be any difference between attributes which share the same URI across multiple projects. You should keep them identical.