How can I evaluate a collaboration link type?

Within the newer DOORS version (we have 9.6) it is possible to link between DOORS and RTC (collaboration links/OSLC).

From the DOORS side these are out-going external-links with predefined "types "Implemented by" or "Tracked by" or "Affected by".

I want to generate a layoutDXL which only displays the "Implemented by" links and not the other external outlinks.So it is somehow necessary to filter the links for some link-attribute/type-information etc. Unfortunately, I did not find any hint in the DXL manual.

Does anybody have an idea how to approach this issue with DXL?

 


Tobias7 - Wed Jan 28 14:27:00 EST 2015

Re: How can I evaluate a collaboration link type?
SudarshanRao - Thu Jan 29 05:27:04 EST 2015

Hi Tobias,

There are some Layout DXL provided in DXL Library, to show the information from linked artifact (from the DM, RM, QM, and CM applicatoins). So you could use CM application in your case and then choose to filter based on the contents of that column (either blank or not).
Alternatively, you can write custom script to apply your own filter. Following perm returns the link type (whether validatedBy or implementedBy etc in the form uri), which I hope will help in your script.
string linkType(ExternalLink extLnk)

HTH,
Sudarshan

Re: How can I evaluate a collaboration link type?
Tobias7 - Thu Jan 29 10:48:20 EST 2015

SudarshanRao - Thu Jan 29 05:27:04 EST 2015

Hi Tobias,

There are some Layout DXL provided in DXL Library, to show the information from linked artifact (from the DM, RM, QM, and CM applicatoins). So you could use CM application in your case and then choose to filter based on the contents of that column (either blank or not).
Alternatively, you can write custom script to apply your own filter. Following perm returns the link type (whether validatedBy or implementedBy etc in the form uri), which I hope will help in your script.
string linkType(ExternalLink extLnk)

HTH,
Sudarshan

Thanks very much, that does the job....

 

ExternalLink el
string s = ""
for el in all obj -> "*" do
{
  s = s "Link Type - " linkType el "\n"
  s = s "Name - " name el "\n"
  s =  s "Link URL - " body el "\n"
  s = s "\n"
}
display s