Get diagram picture in DNG into RPE report
Hello all,
I have a DNG module that contains several diagrams ("processes" artifact afaik) and would like to get them to a RPE report. I have had no issues getting text artifacts, but can someone help with getting these graphical artifacts? Thanks in advance! Christian |
Accepted answer
With DNG 6.0.4 onwards, DNG diagram artifacts can be rendered directly. 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.
Christian Opitz selected this answer as the correct answer
Comments
Bob 3
commented Nov 21 '17, 12:40 a.m.
Subramanya, thank you very much for following up on this topic. |
5 other answers
Which version of DNG are you using? Can you specify the Artifact type and Artifact format selected while creating artifact in DNG?
Comments
Christian Opitz
commented Nov 23 '16, 2:53 a.m.
We are using 6.0.2 iFix006 and yes, it is the artifact format "diagram" that is fairly new. This being not available via the reportable REST API is really bad, I think it should be.
Subramanya Prasad Pilar
commented Nov 23 '16, 4:08 a.m.
Right. So you have only two options:
Christian Opitz
commented Nov 25 '16, 4:00 a.m.
Thanks for your answer. Could you please elaborate your suggestion #1? Our diagrams are included in modules, but I was not able to get them printed
Raj K
commented Feb 20 '17, 7:12 p.m.
Did you guys figure out how to print graphical artifact in the module in a custom RPE Template?
Subramanya Prasad Pilar
commented Feb 21 '17, 4:42 a.m.
If you are generating document through RPE (custom report), the work around is to embed the diagram artifact into a text artifact then print the text artifact. Note that you need to append maximiseEmbeds=true to the data source URL. If you are generating report through DNG, include the diagrams in a module then create a report for the module view. |
Is there a different answer to this question post-CLM 6.0.3?
If not, is there an enhacement request or road map for resolving this defect?
|
No. There is an Enhancement created (Add Diagram artifact format to the RDNG Reportable REST API), which is under consideration. |
Given that there are only a few artifact formats in DNG 6.0.3, like Module, Text, or Diagram; any artifact of format "Diagram" is unable to be directly published by RPE? Do I understand this correctly?
I'm quite surprised that Business Process Diagrams, Graphical Artifacts, Storyboards, and Use Case Diagrams (all of Diagram format) are unable to be directly published with RPE!
Comments
Subramanya Prasad Pilar
commented Mar 10 '17, 1:26 p.m.
There are several supported artifact formats including uisketches, usecasediagrams, etc. You can refer https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI
|
I have Diagrams in a module working in RDNG 6.0.4, RPE 6.0.5, creating a TOF with correct captions; the RPE shipped sample DTA with "Sketches" example wasted hours of my time trying to get working - since RDNG has no way of adding a "Sketch" anymore, only Diagrams.
I tried to upload an image of my RPE container here, but one needs 60+ points apparently to be able to do this, so the best I can do is this (see below), hopefully it helps someone else with this issue. Now if only I could get bookmarks going!
Ps: The Diagram format allows either workflow type /visio diagrams, AND images to be loaded. We use a lot of screen grabs for documentation so the latter is key.
|
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.