Print view from DNG using RPE as table
![](http://jazz.net/_images/myphoto/ad23f439e7af027542bc18a089ec359a.jpg)
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
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
![](http://jazz.net/_images/myphoto/ad23f439e7af027542bc18a089ec359a.jpg)
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
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
![](http://jazz.net/_images/myphoto/ad23f439e7af027542bc18a089ec359a.jpg)
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
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