How do I design an RPE report that takes an RRC view (pre sorted) and displays only those artifacts in that order?
Hi folks,
I'm using RPE 1.2 and CLM 4.0.1 and I'm using the following filter for a data source:
Any ideas?
Thanks,
Joe
I'm using RPE 1.2 and CLM 4.0.1 and I'm using the following filter for a data source:
https://server:port/rm/publish/text?viewName=view1&projectURI=_UbB8EHVFEeKw9fbUe_AVKw
When I create a data source based on this query it seems to work but the data source is empty? Meaning there is no artifact tree in the left side menu?
Any ideas?
Thanks,
Joe
2 answers
Hey Joe,
What you're running into is the difference between a data source and an artifact schema. Judging by the URI in your initial post, your looking to print "text" based artifacts. To pull down the text artifact schema in RPE's Document Studio for use in your template (.dta), the URI would be:
https://server:port/rm/publish/text?metadata=schema
Then, to actually print artifacts during a document generation, you'd use the URI that you posted initially for the data source that is based upon this text schema. You're provide this in the RPE Launcher i.e. in the document specification (.dsx).
Some useful links for you might be:
This tutorial is based upon RRC 3.0.1, but most of it is still valid
http://www.ibm.com/developerworks/wikis/display/rpe/RPE+-+RRC+3.0.1+v3
The RRC Reporting Wiki
https://jazz.net/wiki/bin/view/Main/RRCReportingWiki
What you're running into is the difference between a data source and an artifact schema. Judging by the URI in your initial post, your looking to print "text" based artifacts. To pull down the text artifact schema in RPE's Document Studio for use in your template (.dta), the URI would be:
https://server:port/rm/publish/text?metadata=schema
Then, to actually print artifacts during a document generation, you'd use the URI that you posted initially for the data source that is based upon this text schema. You're provide this in the RPE Launcher i.e. in the document specification (.dsx).
Some useful links for you might be:
This tutorial is based upon RRC 3.0.1, but most of it is still valid
http://www.ibm.com/developerworks/wikis/display/rpe/RPE+-+RRC+3.0.1+v3
The RRC Reporting Wiki
https://jazz.net/wiki/bin/view/Main/RRCReportingWiki
I should have also pointed out that when you point a data source to a specific view, the order and filtering of that view get preserved in the document that is generated by RPE. Thus to your original question, if the template is setup correctly and you provide the URI that you posted originally from your question, the affect in the generation would be a document that have the order and filter parameters as defined in the RRC view.
Comments
Chris Hardy
Feb 27 '13, 5:28 p.m.Hi Joe,
As a first step you put this into a browser, what happens?
Joe Barnes
Feb 27 '13, 8:47 p.m.Hey Chris - Thanks for looking at this. Here are the results of the query in the browser:
Op One1055https://alidade-10:9443/rm/resources/_QhdEB4AxEeK42LQvxO-E7gTexthttps://alidade-10:9443/jts/users/joejoehttps://alidade-10:9443/jts/resource/itemName/com.ibm.team.repository.Contributor/joe2013-02-26T16:26:22.543+00002013-02-26T16:26:56.041+0000https://alidade-10:9443/rm/publish/comments?resourceURI=_QhdEB4AxEeK42LQvxO-E7ghttps://alidade-10:9443/rm/publish/revisions?resourceURI=_QhdEB4AxEeK42LQvxO-E7ghttps://alidade-10:9443/rm/resources/_QhdEB4AxEeK42LQvxO-E7g?revision=_VkvXu4AxEeK42LQvxO-E7gCurrenthttps://alidade-10:9443/jts/resource/itemOid/com.ibm.team.process.ProjectArea/_UbB8EHVFEeKw9fbUe_AVKwhttps://alidade-10:9443/jts/process/project-areas/_UbB8EHVFEeKw9fbUe_AVKwOperationshttps://alidade-10:9443/rm/folders/_cOnNNnVFEeKw9fbUe_AVKw
Op ONE ONE ONE BOLD
Satisfied Byhttps://alidade-10:9443/rm/types/_ZktLtnVFEeKw9fbUe_AVKwhttps:
Looks good to me, just don't know how to use the response in RPE.
Thanks,
Joe