It's all about the answers!

Ask a question

Print view from DNG using RPE as table


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

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

I use the following URI:
https://127.0.0.1:9443/rm/publish/resources?viewName=Traceability%20to%20Stakeholder%20Requirements&projectURI=_QwVfID3WEeav76FdpkU0Mw&moduleUri=_2ea39853744e44b58681667f34b92b2d&showEmbedTitles=true

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?


Thanks,
Oded

2 answers



permanent link
Subramanya Prasad Pilar (4.6k16) | 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:
https://server:port/rm/publish/views?moduleURI=<moduleURI>&viewURI=<ViewURI>&projectURI=<ProjectURI>

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.

Regards,
Prasad

Comments
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?

Oded


permanent link
Subramanya Prasad Pilar (4.6k16) | 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.

Regards,
Prasad

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.