It's all about the answers!

Ask a question

How to make an RPE template (data from DNG) usable from a view


Shannon Struttmann (13311) | asked Jan 31 '18, 12:51 p.m.

I created an RPE template, and it works fine in RPE, but when I upload it to DNG, and select it from the 'Generate Report for View', it just sits there and never finishes. I got my hands on the built-in 'PrintModuleBook' dta file, and found they approached things very differently, using a view datasource and a ton of variables that I have no idea what they do.

Can anyone explain, in as much detail as possible, how to take a template that uses the 'resources', 'text', '_resources' datasources and make it work inside DNG?


Comments
Shannon Struttmann commented Jan 31 '18, 1:32 p.m.

Alternatively, does anyone know how to run the 'PrintModuleBook' from RPE? There's a ton of variables that I don't know if I need to give input for, and I don't know how to configure my datasources. If I could run it from RPE, I could try modifying it for my purposes, but I need to be able to test any changes I make.

One answer



permanent link
Subramanya Prasad Pilar (4.6k16) | answered Feb 01 '18, 2:03 a.m.

Do you see any error in rrdg.log? Note that the data source name should match any of the artifact format supported by DNG.
Please refer the steps to deploy the template in https://rpeactual.com/2014/07/17/deploying-templates-in-rrcdng/

Starting DNG 6.0.4, you can use view url to generate document from RPE (use PrintModuleBook.dta or any template that uses views data source schema). The request against DNG reporting service for "views" artifact format are supported under the following formats:
https://serverNAme:port/rm/publish/views?moduleURI=https://serverNAme:port/rm/resources/_YbK4wd6IEeaEaOW7hUvrNQ&viewURI=https://serverNAme:port/rm/views/_iRsR8d6IEeaEaOW7hUvrNQ&projectURI=serverNAme:port/rm/process/project-areas/_uxdv8N3FEeaRC8I0G_Qhlg
or
https://serverNAme:port/rm/publish/views?moduleURI=_YbK4wd6IEeaEaOW7hUvrNQ&viewURI=_iRsR8d6IEeaEaOW7hUvrNQ&projectURI=_uxdv8N3FEeaRC8I0G_Qhlg

These are the minimal parameter needed to execute the request - moduleURI, viewURI, projectURI

Note: To be able to execute an external request against "views" artifact format, project area, module and view information is necessary and view and module must belong to the project area provided on the request. If one of the minimal parameters is missing or invalid, or module or view do not belong to the project area, then a bad request response will be provided.

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.