Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Print view from DNG using RPE as table

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

0 votes



2 answers

Permanent link
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

0 votes

Comments

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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,954

Question asked: Jul 03 '16, 3:18 a.m.

Question was seen: 3,033 times

Last updated: Jul 05 '16, 4:56 a.m.

Confirmation Cancel Confirm