I am using this query: #set($hql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='Space1.MyClass' and obj.name<>'${doc.space}.${class}ClassTemplate' and doc.space='MySpace'")
to return a list of documents from a different space and I am trying to now create a view link to the document. I have tried several combinations using getUrl() but nothing seems to work. Here's some of the code I've tried: <ol> #foreach($faq in $recentlyCreated) #set($doc = $xwiki.getDocument('FranchiseTax', $faq)) <li>[$doc.question>$doc.getUrl("view")]</li> #end </ol> What am I missing? Thanks in Advance! .:. Kevin -- View this message in context: http://n2.nabble.com/Linking-to-documents-in-different-spaces-tp2156815p2156815.html Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users