It's all about the answers!

Ask a question

How to customize an existing DNG reporting template


Harrison Vince (35117) | asked Apr 23 '18, 10:50 p.m.

We are using DNG 6.0.3 and I want to substantially edit an existing reporting template (in the dialog accessed when you enter a module and then click "Generate Report for View...").

I am able to get printModuleBook.dta into RPE (2.1) but my problem occurs when I want to generate the document through RPE. There is quite a lot of external variables that need to be defined in the document specification (dsx), a few are:
  • Variable: _baselineURI
  • Variable: _configurationURI
  • Variable: _coverComponentDesc
  • Variable: _moduleURI
  • Variable: _projectURI
  • Variable: moduleURI
  • Variable: projectURI*
I assume DNG dynamically produces a dsx file to be used with the template? Is there any way for me to download this dsx file for a particular module from DNG? If not, how can I generate a report through RPE with real data from DNG to preview my changes to the template without having to upload the new template to the server each time?

Accepted answer


permanent link
Kumaraswamy Gowda (39115) | answered Apr 24 '18, 12:47 a.m.

DNG builds dsx file dynamically. You should be able to get the dsx file from the DNG server (C:\Program Files\IBM\JazzTeamServer\server\tomcat\temp\rrc_reports). See the following links for more details.

https://rpeactual.com/2014/07/28/one-more-technique-for-debugging-dng-document-generation/
https://rpeactual.com/2014/07/22/troubleshooting-dng-document-generation-with-rrdg/
https://rpeactual.com/2014/11/26/how-to-enable-dng-debugging-for-document-generation/

Harrison Vince selected this answer as the correct answer

Comments
Harrison Vince commented Apr 24 '18, 2:16 a.m.

 Thank you for the info, very helpful!

One other answer



permanent link
Subramanya Prasad Pilar (4.6k16) | answered Apr 24 '18, 2:04 a.m.

Just one correction - Once you configure "Logging" as explained in https://rpeactual.com/2014/11/26/how-to-enable-dng-debugging-for-document-generation/ , you will find the .dsx in %temp%\rrc_reports folder.

You can open this .dsx in RPE Launcher and check how the configurations are done. However, the URI set by DNG for "views" data source may not work from RPE. You should rather set the views URI as explained in https://jazz.net/wiki/bin/view/Main/DNGModuleViewExternalRequest

Attaching a document specification file created by DNG for your reference.

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.