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

DNG RM Extensions - Traverse links and fetch linked data

Is there any javascript example of an RM extension that will traverse links from a selected DNG artifact to other linked DNG artifacts and fetch data from those linked artifacts?

For example loop through all the incoming 'Satisfies' links and look for an integer attribute called 'AAA' on the artifact at the other end of each link and then add the values together and write it to an attribute 'BBB' on the originally selected artifact?

Or is there any RM Exrtension javascript example that shows any kind of link traversal operation?

0 votes



2 answers

Permanent link

Sean, you might know that when you display link in a module you can also show up to 3  attributes of linked artifact in the view.


We have also developed client script which is returning rich text of linked artifact in mini dashboard and also script which is writing attributes to module artifact so your need is definetly possible to do. 

0 votes


Permanent link

^Thanks.

Yes I know about the attribute display in the traceability view.

I am thinking more about a utility to analyse data at the other end of links and then perform some custom calculation based on the linked data it finds.

Sounds like it is doable from what you have said.


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
× 6,122

Question asked: Aug 08 '18, 10:03 a.m.

Question was seen: 2,275 times

Last updated: Aug 11 '18, 3:32 a.m.

Confirmation Cancel Confirm