What is the best way to maximize RRC REST API performance?
It seems that the best performance is achieved by using the 'views' dataSource. This is only available via copying one of the .dta's shipped with RRC (ex. printModuleBook.dta). It is not discovered by the schema discovery tool. The query appears to grab all artifacts in the current view and then publishes them.
This method is undocumented and not extensible.
Conversely the examples provided by the RPE team here, http://rpeactual.com/2014/02/19/publishing-dng-rrc-modules/ have low performance (ex. 1 artifact/1+sec at first. Increasing exponentially as the number of artifacts increase), are fairly well documented and have access to most data that you would care about.
Can more information be shared regarding the 'views' dataSource? Can several views be defined that can be nexsed within each other? For instance with DOORS data sources I can publish a document with a user defined table (ex. VCRM) embedded within it by using a DOORS multiple DOORS data sources configured to publish different views.
6 answers
https://server:port/rm/publish/[artifact_format]?viewURI=id1&projectURI=id2
Comments
The printModule displays whatever is on the view defined in the module, if you have no attributes in the view, you will get no attributes in the report.
Comments
Do you have the attributes you want on the module view at the point you print the module?
I found out what the issue was. There is a showAttributes variable in the printModuleBook RPE template that controls whether attributes are displayed in the published document or not. I hard wired these element conditions to true but I was still missing some data.
Turns out I needed to select Include Attributes=True in the publishing wizard in order for the dataSource to populate info/collaboration/attributes.
This is weird and should not be. Is there a way to customize the publish wizard? I want to hard wire the document type (Word) and all of the external RPE variables. I also want to minimize button clicks (selections and number of wizard pages)