It's all about the answers!

Ask a question

Print view from DNG using RPE as table

Oded Mozesh (52512) | asked Jul 03 '16, 3:18 a.m.

I try to print a DNG (6.0.2)  view with RPE.

I use the following URI:

I get ordered artifacts as appeared in the view.

I need to print the view columns.

Is it possible to get the displayed columned, and how?


2 answers

permanent link
Subramanya Prasad Pilar (3.5k14) | answered Jul 03 '16, 12:12 p.m.
Hi Oded,

Are you generating the document through RPE or RDNG? If through RPE, which template (.dta) are you using?

Since views schema is not public as of 6.0.2, you cannot execute a public call against views schema:

With the above URL, you will be able to print View columns. Also, if you remove / add columns to the view (ex. Section, Name, Description, etc.) and save updates, XML output from this URL shows the new columns added.


Oded Mozesh commented Jul 05 '16, 3:16 a.m.

Hi Prasad,

Thanks for the fast response.

I use RPE for the development and than embed the dta into DNG (==> RDNG?).

Where can I find the viewURI?

How can I get the views schema?


permanent link
Subramanya Prasad Pilar (3.5k14) | answered Jul 05 '16, 4:56 a.m.
Hi Oded,

You can add views schema by using https://server:port/rm/publish/views?metadata=schema. But you cannot use the datasource url https://server:port/rm/publish/views?moduleURI=<moduleuri>&viewURI=<viewuri>&projectURI=<projecturi> since this is not public. However, you can design the .dta in RPE, deploy it in DNG as explained in rpeactual and generate document through DNG. DNG uses special method to get views and hence it works through DNG (similar to printModuleBook.dta that ships with DNG).

If you want to generate document for Views through RPE, you can use filter by view (https://server:port/rm/publish/[artifact_format]?viewName=name1&projectURI=id2&moduleUri=id3) as mentioned in the wiki.

You may refer "Reporting on Module Views" section in this pdf from the blog.


Your answer

Register or to post your answer.