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

What datasource type is used in the default report templates for DNG?

 I am trying to replicate the dataSource used in the printModuleBook.dta found in DNG.

The unique thing is it has a smaller schema than the normal DNG DB schema, but also has some fields I need access to.

How was this created?

views > dataSource > artifact > fields > field

Or can someone tell me how I can figure it out on my own? Where is the dataSource definition?

Thanks,

0 votes



One answer

Permanent link
You can check the .dsx(document specification) files created by DNG under <SERVER_INSTALLATION>\server\tomcat\temp\rrc_reports. If you open the .dsx file in RPE Launcher, you will find the actual "views" data source URL used for document generation.

This URL will be something like
https://<server>:9443/rm/publish/views?resourceURI=_LuJCayarEeOcGLR6nwopVQ&moduleURI=https://<server>:9443/rm/resources/_LuJCayarEeOcGLR6nwopVQ&projectURI=https://<server>:9443/jts/process/project-areas/_EcuF8hBsEeOL8ZVCaKK9GQ&viewCacheId=ddf236f6-f80d-49f0-ae8a-de02f0b792d4&showAttributes=false&showEmbedTitles=true&size=100

You can notice that request made by the publish report does several stuff - It includes  the project, the module and the cached view. Also, currently you cannot make a public call against "views" schema and DNG REST API does not support "views" artifact type.
Please refer these:
https://rpeactual.com/2014/07/28/one-more-technique-for-debugging-dng-document-generation/
https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI

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
× 12,019

Question asked: Nov 16 '16, 12:04 p.m.

Question was seen: 2,930 times

Last updated: Nov 17 '16, 1:21 a.m.

Related questions
Confirmation Cancel Confirm