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,
|
One answer
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 |
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.