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

Create "Link To" link in RRC/DNG

Hi,

Is it possible (and how) to create "Link To" using OSLC  (In RRC/DNG).
Links that when created in the RRC and get the resource using OSLC query looks like:
<j.0:Link rdf:resource="...:9443/rm/resources/_1e77c34b130240758370e5d224a134dd"/>


Best Regards,
Oded Mozesh

1

0 votes

Comments

Hello,
Can you please explain how a 'LINK TO' & 'LINK FROM' can be created using OSLC or Eclipse Lyo in DNG?



One answer

Permanent link
Hi,  doing an OLSC GET to the source resource, add en entry similar to :
<j.0:link rdf:resource="...:9443/rm/resources/_1e77c34b130240758370e5d224a134dd"/>
to the RDF returned ( the url specified is the url of the desired target resource ) and use it to do an OSLC PUT ( remember to use the etag header value as the If-Match header )

The source artifact will now show a Link To link, and the target resource will show a Link From link.

0 votes

Comments

It is possible form RDNG version 5.0.2 and up, older versions does not support those types of linking via the OSLC RM service provider.

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,952
× 516
× 139
× 60

Question asked: Jan 13 '15, 7:20 a.m.

Question was seen: 6,788 times

Last updated: Dec 21 '16, 12:11 p.m.

Confirmation Cancel Confirm