It's all about the answers!

Ask a question

RRC-RPE matrix traceability with text of linked artifacts


Evgeniya Nikitina (1569) | asked Dec 06 '13, 4:41 a.m.
edited Dec 06 '13, 4:43 a.m.
Hi all!

I am using a configuration of IBM RRC 4.0.3 and RPE 1.2 document template, running from the RRC server.

I need to publish in report the text of artifact and text of artifact linked with him.
For output artifact text in a report I use the scheme "text": https://server:port/rm/publish/text?metadata=schema, display in report text of artifact (artifact/content/text/richTextBody/div/_value).
Then I find URL of linked artifacts (artifact/traceability/links/Link/alternative/_value) and this URL I include in URI dynamic configuration using Data Source Configuration unit block in RPE.
Target data source of Data Source  Configuration is "text2" (secondary data source), which is created using schema
https://server:port/rm/publish/text?metadata=schema
I can to output ID, title of linked artifact, but I can't to output text of him.
I suspect that I incorrect set the content of field "accept header" of data source configuration block.
My options:
- application/xml,*/*
- application/xml,*/*/*/*/*/*
- application/rdf+xml.

Any ideas?
May be the examples of template RPE?

Accepted answer


permanent link
Subramanya Prasad Pilar (4.6k16) | answered Dec 06 '13, 6:38 a.m.
Note that artifact/traceability/links/Link/alternative returns URL like https://server:port/rm/publish/resources?resourceURI=UUID. You just need to use Script Expression for URI property of Data Source Configuration element so that resources is replaced by text. No other changes are required and no need to change "accept header".
Evgeniya Nikitina selected this answer as the correct answer

Comments
Evgeniya Nikitina commented Dec 06 '13, 7:41 a.m.

Thanks for your answer!

2 other answers



permanent link
Rodrigo Marques (19511) | answered Jul 08 '15, 6:35 a.m.
 Hi Evgeniya,

Can you provide this template?
I am in the same situation but I don't understand how to create the link between the data sources.

Comments
Evgeniya Nikitina commented Jul 09 '15, 6:14 a.m.

Hi Rodrigo!

Please enter your email address. I will mail you an example of template.


Rodrigo Marques commented Jul 09 '15, 12:24 p.m.

 Hi Subramanya,


If you could, it will help me a lot.
Send me on romessia@br.ibm.com

Thanks.


permanent link
Rodrigo Marques (19511) | answered Jul 09 '15, 8:57 a.m.
 Hi Subramanya,

If you could, it will help me a lot.
Send me on romessia@br.ibm.com

Thanks.

Your answer


Register or 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.