How to Configure and Generate document in RPE using DNG
Accepted answer
Where are the images? Are you referring to graphical artifacts? If so, DNG diagram artifacts can be rendered directly (from DNG 6.0.4 and later). You should use the text schema and print the rich text body (dataSource/artifact/content/text/richTextBody/div) just like you do for other text artifacts.
Note: There is no separate "diagram" artifact format supported by DNG REST API. We should rather consider diagram artifact as "text" artifact.
If the images are embedded in text artifact or uploaded as wrapper resource, you can refer the OOTB sample template that comes with RPE (%rpe_home%\templates\DNG\DNG_Resources.dta).
Comments
Yes I am using dataSource/artifact/content/text/richTextBody/div when I generate document using https://server:port/rm/publish/[artifact_format]?moduleURI=module1
Please refer the sample template. We need to handle all the artifact formats (format == "Text", format=="UseCaseDiagram", format == "WrapperResource", etc.) contained in the module.
thank you@Subramanya i am using RPE(version 2.0.0) Actually images are in the imported document ,and image artifact shown file format after importing it,I am confusing on it,please correct me on it
You can use an Image element with content set to dataSource/artifact/wrappedResourceImageURI
1 vote
One other answer
Hi Amruta, this may be a helpful thread for you to read. https://jazz.net/forum/questions/231407/get-diagram-picture-in-dng-into-rpe-report.