It's all about the answers!

Ask a question

DNG RPE Template to publish a view (filters + columns)?

Sean F (98) | asked Mar 18 '18, 12:40 p.m.
edited Mar 18 '18, 12:41 p.m.
I have seen various explanations and demos of exporting plain modules from DNG.
Is there a way to export a module view?
The view might contains a filter.
It might contain attribute columns etc.
I know filtering and columns can be done from first principles in the DNG template but just wondering if there is a way to leverage the already defined filters and columns from a DNG view without redefining them in RPE?

Accepted answer

permanent link
Subramanya Prasad Pilar (4.5k14) | answered Mar 18 '18, 2:00 p.m.
edited Mar 18 '18, 2:14 p.m.

Yes. If you are using DNG 6.0.4 or later, you can execute external requests against module views and generate documents from RPE template that uses views data source schema.

You can add schema using https://server:port/rm/publish/views?metadata=schema and design the RPE template. You can also use printModuleBook.dta (shipped with DNG) to publish a view by configuring its "views" data source as follows (example URL from my DNG instance):

Requests against DNG reporting service for "views" artifact format are supported under the following formats:



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 these parameters (moduleURI, viewURI and projectURI) is missing or invalid, or module or view do not belong to the project area, then a bad request response will be provided.

Sean F selected this answer as the correct answer

Sean F commented Mar 18 '18, 2:19 p.m.
Thanks for the detailed response.
I will give those options a try.

2 other answers

permanent link
Sean F (1.3k22780) | answered Apr 11 '18, 11:47 a.m.
edited Apr 11 '18, 12:18 p.m.

OK so the DSX URI for the views datasource should be of the form


with a view, module and project area URI all in agreement (i.e. the view must apply to the module and both must be in the project)

Here is the URI of my module


So I take the string _jvSfgSeqEeiIY4jSc2zQlg as the module ID (?)

Here is the URI of my view


So I take the string _hXYQMTzjEeialsG3CL8ZrQ (? from the filterId)

Then I just need the project URI

The project itself has the web browser URL:-


Which I think gives a project URI of _ILUmgCbhEeiejZ97BmNJiA (?)

So I assemble my complete DSX URI as


But this gives

CRRPE1064I Error in engine
Auto: connection to https://localhost:9443/rm/publish/views?https://localhost:9443/rm/publish/views?moduleURI=_jvSfgSeqEeiIY4jSc2zQlg&viewURI=_hXYQMTzjEeialsG3CL8ZrQ&projectURI=_ILUmgCbhEeiejZ97BmNJiA failed. None of the known protocols succeeded.

Have I assembled my DSX URI incorrectly?

permanent link
PASQUET Nathan (111) | answered Jun 01 '18, 8:31 a.m.

hi there,

I succeed to insert a view using the ModuleView_Custom Template established by IBM by configuring the DSX file with the URI for view, module and project Area.
Sean, i did like you said for the module and view URI but i took the URI from the itemId part of the URL of my project after clicking on Manage this project Area :

Nevertheless, i have a problem with my dta file. Using the dta file given by the template, all works perfectly but if i try to configure the view as a data schema in a new .dta with the same URI used in the DSX, nothing appears in the data source view. That why i ask for some help, how should i configure my URI in my DTA to be able to use the informations and construc my canevas ?

Your answer

Register or to post your answer.