Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

In RPE, how do I include attributes of embedded artifactsd in a DOORS Next table?

In a module, I have a table artifact that has other artifacts embedded in them.  I would like to show the attributes of the embedded artifact inside the table for RPE report.  

Does anyone have any suggestions?
Thank you,
Nhu An

0 votes



2 answers

Permanent link
You will need to extract the URIs for the embedded artefacts from the text and then use that to do a secondary look up of the additional information by dynamically configuring a data source with the extracted resource information.


0 votes

Comments
Use comments on an answer to reply, not a whole new answer. This keeps the discussion in a thread.

I'm not 100% sure what you're trying to do - is the Leader column the main artefact, and the Partner column the embedded one? Or is the whole thing the table, and Requirement1 and Requirement 2 are the embedded artefacts?

Thank you for the tip!  My first Q&A so hopefully this time is correct.


The whole thing is a table, and Requirement 1 and Requirement 2 are embedded artifacts using link type = Embedded.  Req 1 and Req 2 are not linked to each other, although it can happen if it helps with reporting.



OK this is quite a bit more complex. You're going to have to either preload the data or do a two pass approach:
 - firstly you'll need to retrieve the table element, and then parse it as XHTML to find all the embedded artefacts and get their URIs
 - then you'll need to use a dynamic data source to retrieve the detail from the embedded artefacts that you want, and store it
 - then you'll need to render the table and once again find the position of the embedded elements, and insert the extra data as XHTML where you want it displayed

It's quite involved but definitely able to be done

I was afraid it was fairly complex since I've done various searches and haven't been able to find anything.  Would you mind guiding me through this process?  I am a novice at rpe so any resources are greatly appreciated.


Permanent link

Thank you Davyd.  


In this case, I can look up the table artifact via "publish/resources?resourceURI=tableURI" and get the embedded artifacts info.  Using "publish/text?resourceURI=tableURI" will provide the actual table and its content.  I'm at a loss on how to combine the two to achieve something similar to below (adding attribute: owner)

   Table artifact
Any suggestion is appreciated.

0 votes

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 25, 10:50 a.m.

Question was seen: 189 times

Last updated: Mar 30, 1:48 p.m.

Confirmation Cancel Confirm