Add the field “FileDirRef” to the ViewFields section in vLookup, and add this to the “Special configuration”:
{"function":"buildLinkToDocument"}
Then add this to the Custom JS:
function buildLinkToDocument(a,b){
return "<a href='"+b.get_item("FileDirRef")+"/"+b.get_item("FileLeafRef")+"' target='_blank'>Link</a>";
}
See attached images for details.
Alexander