Create "Link To" link in RRC/DNG
One answer
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.
<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.
Comments
Anuraj Kurup
Dec 21 '16, 12:11 p.m.Hello,
Can you please explain how a 'LINK TO' & 'LINK FROM' can be created using OSLC or Eclipse Lyo in DNG?