How to get URI of picture resoruce in RDNG 6.0.1 M1
Hi, I have I File Resource
So this resource is A File and contains a picture, but I can't find its URI. When I request it: <rdf:Description rdf:about="https://10.0.2.79:9443/rm/resources/_qWu6Y0ZsEeWL2aNIq4SA-w">And as you can notice there is : <public_rm_10:wrappedResourceRevision rdf:resource="https://10.0.2.79:9443/rm/wrappedResources/_p6wwBkZsEeWL2aNIq4SA-w?revision=_qV_TcUZsEeWL2aNIq4SA-w"/>and if I open thewrrapedResourceRevision I see binary data, which may be the image. How to get the file URI? What is this OLE object? Is that wrappedResourceRevision my picture resource? |
Accepted answer
The wrappedResource URL IS the URL for the file. The response headers Content-Disposition, Content-Type, Content-Length should tell you enough about the file.
Dinyo Dinev selected this answer as the correct answer
Comments
Dinyo Dinev
commented Sep 11 '15, 7:11 a.m.
But what happens if there are multiple files are there a lot of wrappedResourc-s properties?
Donald Nong
commented Sep 13 '15, 8:19 p.m.
Each wrappedResource points to a single file, regardless the file type.
|
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.