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

How to use the RM API to retrieve the contents of a specific module and have the artifacts listed in the order they are displayed in the RDNG UI?

 Hi


The content for the module artifact from RDNG project - does not have the primary text like regular artifacts with "primary text" and it has the list of artifact resource URLs (respective to other artifacts within it)

<oslc_rm:uses rdf:resource="https://itec-rrc.fmr.com/rm/resources/_222f508984a34ea49172c3b9c5786bd0"/>  ---> 54431

<oslc_rm:uses rdf:resource="https://itec-rrc.fmr.com/rm/resources/_cd2bcde7d4a14282a86e0a0c64d4525b"/>

..........

..........

..........

artifacts are not displayed in the same order which is shown in RDNG UI view, here i am expecting to see artifact#47621 (this is first artifact shown in the RDNG module), but when tool looping the the all resource URLs, the first URL is pulling the content for artifact# 54431.

Is there way to retrieve the contents/artifacts of a specific module in the order they displayed in RDNG UI ?


Regards




 


0 votes



One answer

Permanent link

Are you using the OSLC API? If so, you should consider the reportable REST API.
https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI#Supported_artifact_formats

The "modules" artifact format should produce the content exactly as you want.

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
× 10,927

Question asked: Oct 05 '17, 3:11 p.m.

Question was seen: 4,457 times

Last updated: Oct 07 '17, 4:11 a.m.

Confirmation Cancel Confirm