Image traceability in DNG
Good Afternoon,
Including images in the rich text of a DOORS-Next Generation (DNG) artifact - let's call it artifact X - creates a separate 'File' format artifact - lets call it artifact Y - and 'inserts' it into artifact X. This occurs even if you paste the image from the clipboard.
My question is: is there ANY form of traceability between the picture artifact Y and the artifact X that it is inserted/embedded in?
I have developed a need for this as we have modules that artifacts are removed from when they are obsolete. However we wish to retain some of these artifacts rather than totally delete them from DNG, and so the obsolete artifacts are moved to an 'obsolete' folder. The issue is my method of detecting these artifacts that don't feature within the module (apply filter no modules listed in 'Where Used' attribute) do not filter out picture artifacts embedded in non-obsolete artifacts.
These image/file artifacts quickly build up in a project, and with no way of detecting where they are used it makes it hard to manage them. What is the proposed method of dealing with these artifacts?
Best
Sam
Including images in the rich text of a DOORS-Next Generation (DNG) artifact - let's call it artifact X - creates a separate 'File' format artifact - lets call it artifact Y - and 'inserts' it into artifact X. This occurs even if you paste the image from the clipboard.
My question is: is there ANY form of traceability between the picture artifact Y and the artifact X that it is inserted/embedded in?
I have developed a need for this as we have modules that artifacts are removed from when they are obsolete. However we wish to retain some of these artifacts rather than totally delete them from DNG, and so the obsolete artifacts are moved to an 'obsolete' folder. The issue is my method of detecting these artifacts that don't feature within the module (apply filter no modules listed in 'Where Used' attribute) do not filter out picture artifacts embedded in non-obsolete artifacts.
These image/file artifacts quickly build up in a project, and with no way of detecting where they are used it makes it hard to manage them. What is the proposed method of dealing with these artifacts?
Best
Sam
Accepted answer
Literally, the image is "embedded" in the text - one simple way is the same as an image referenced in a HTML web page. So basically when you identify the artifact that becomes obsolete, you need to parse its "primaryText" to see if any image(s) referenced there. The tag is usually <img> but you can just search the link to the image itself as it is of the form "rm/wrappedResources/<uuid>".
Comments
Sam Briggs
Jan 30 '15, 12:00 p.m.Alastair Beadle
Feb 02 '15, 4:27 a.m.Sam Briggs
Feb 02 '15, 2:27 p.m.