It's all about the answers!

Ask a question

How do I export DOORS NG artifacts with images embedded in Primary Text


Ben Sharples (813160) | asked Nov 10 '18, 3:42 a.m.
I have images embedded in some of my DOORS NG artifacts within the Primary Text.

When I am exporting using RPE for these artifacts I don't get any information displayed.

What am I missing?

2 answers



permanent link
Sean F (1.3k246157) | answered Nov 10 '18, 4:40 a.m.
If you just use the DNG Module schema you can only extract the plain text (no rich text or pictures).

You need to also add a DNG Text schema and then use Dynamic Data Configuration to grab the rich text from each artifact (which will include the pictures).

There is a good youtube series where Dragos explains it all with a video demo.

This is part 2 of 6


Comments
Ben Sharples commented Nov 10 '18, 5:34 a.m.

I'm pointing directly to the DNG Artifact that within the Primary Text has a mixture of Text and Images.


I'm not looping through a module that contains a variety of Text and Image Artifacts.

I am grabbing from the correct field in the API it doesn't print the images just leaves a blank space

Note that video series does not cover images


permanent link
Sean F (1.3k246157) | answered Nov 10 '18, 6:20 a.m.

Using the DNG Text schema you should be able to publish the image from the richtext contents using the context query

datasource/artifact/content/text/richTextBody

on the container and publishing the property

datasource/artifact/content/text/richTextBody/div

into a text element inside a paragraph

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.