Updated RPE _ RRC Navigation to Artifact to Primary Text (Module based artifact)
I'm trying to write a report in RPE to extract the primary text from an artifact which exists in a module.
I can navigate to the object and extract all the custom attributes but i can not seem to get to the Primary text.
Ive looked at the examples but I cant work out the Query
so far I have
https://server:port/rm/publish/text?resourceURI=_jkjjkjk...
Any help would be appreciated
One answer
Hello Chris,
Are you looking to get the primary text of the artifact is so then you can try the following URL in your document specification:
Example URL for Document Specification:
https://<servername>:<port>/rm/publish/resources?projectURI=_wwFh4AtKEeOB3LvhGxKdxQ
(Note: The query above will provide you the resources from across the entire project specific to what you have outlined in your template.)
I'm assuming that you are using a similar query in your template: datasource/artifact/description
Also, there are some great examples on our developer works site below for RPE and RRC reporting:
https://www.ibm.com/developerworks/community/wikis/home?lang=en#!/wiki/Rational%20Publishing%20Engine/page/Scenario%20-%20RPE%20-%20RRC%203.0.1%20v3
https://jazz.net/wiki/bin/view/Main/RRCReportableRestAPI#Supported_Artifact_Formats
(Note: The examples in the link above are for RRC 3.0.1.x but are applicable to RRC 4.0.x)
Hope this helps.