I don´t think you understand me. I have one document library(My document) with many different document, it can be word documents or excel documents, that doesn´t matter. Then I have one form library with my infopath-forms, in those form I want to have links to the documents in my document library(My documents). I just want to show links to the docs so that I can click and open them from my infopathform so that I don´t have to close the form and go in to the document library and open the document from there. I don´t want to create any document just open documents that is upploaded before in my document library in a new window.
I have found out a way to get the title from the document library but I want the whole url and just make hyperlinks of that one. Is this possible?