It's all about the answers!

Ask a question

How do you sort RRC artifact data in RPE?


Christopher McKay (2687) | asked Jul 19 '11, 5:29 p.m.
Hello,


I am using IBM Rational Requirements Composer (RRC) 3.0.1 and IBM Rational Publishing Engine (RPE) 1.1.2. When I am viewing a set of artifacts in a collection, I am noticing that RPE's sort does not work to sort the artifacts by some attribute (e.g. identifier, priority, status). I also do not see an RRC REST API that will sort artifacts.

I am guessing the only way currently to sort data in RPE is to use JavaScript code (e.g. build an array in Javascript, sort the array). Is there anything that RRC has for sorting data in RPE?


Why is this important? Suppose you have 50 use cases in a collection. A user may want to sort use cases according to some attribute (e.g. id, priority) in an RPE document template. Otherwise, it becomes difficult finding the data in the generated document. What are your thoughts?

Thank you!


Kind Regards,
Chris

2 answers



permanent link
Dragos Cojocari (211) | answered Jul 20 '11, 5:59 a.m.
JAZZ DEVELOPER
Hey Daniel,

RPE can only sort on the properties of the query. So for example if I have the following structure and a query on usecase you can sort on the title ( which is a property of the usecase) but you cannot sort on Attribute/Title or Attribute/Value as those are properties of a child resource.

Usecase
- title
Attribute
- title
- value

Regards,
Dragos

permanent link
Dragos Cojocari (211) | answered Jul 20 '11, 6:16 a.m.
JAZZ DEVELOPER
Chris not Daniel, sorry. :)

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.