Extract wrapped resource link for an artifact using RM Extension
Hi,
I am trying to extract the link of a wrapped resource of an artifact into the RM Extension using java script.
I am able to extract the link when the file is attached to the text and reflecting in the Primary Text Attribute. But in my scenario, the file is being imported as an artifact and the contents are not reflecting in the Primary Text Attribute.
It will also help if there is a way to it the wrapped resource id using the artifact reference.
Regards,
Krishna K.
One answer
See https://jazz.net/forum/questions/279448/obtain-artifact-wrapped-resource-link-from-rm-extension
Please note, that is the reason why we ask users to ask their own questions, rather than answer a question with a question.
Comments
Hi Ralph,
Sorry for that, I tried to post it as a comment but I am not getting the option to post a comment.
Coming to the query the answer that he mentioned doesn't suit my requirement, the artifact id and wrapper resource id are different. I want to extract the id or download link for the wrapped Resource from the Extension/Widget. I am able to get it if the resource is getting reflected in the Primary Text, but I am unable to get it if it is mentioned only in Contents field but not in Primary Text Field.