It's all about the answers!

Ask a question

DNG RM Extensions - Traverse links and fetch linked data


Sean F (1.3k252162) | asked Aug 08 '18, 10:03 a.m.
edited Aug 08 '18, 10:06 a.m.
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?

2 answers



permanent link
Softacus AG (2013) | answered Aug 10 '18, 10:43 a.m.

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. 


permanent link
Sean F (1.3k252162) | answered Aug 11 '18, 3:32 a.m.

^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.


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.