Hi all,

This code retrieves and shows the document name of all the documents 
created with a given class:

#set ($sql = ", BaseObject as obj where obj.name=doc.fullName and 
obj.className='${doc.web}.${class}Class' and 
obj.name<>'${doc.web}.${class}ClassTemplate'")
#foreach ($item in $xwiki.searchDocuments($sql))
   * [${item}]
#end

In a new class I've created, these documents have a property called 
Name. Please, how could I list this property for each entry instead of 
the document name?

Thank you for your help,

Ricardo

-- 
Ricardo Rodríguez
Your EPEC Network ICT Team

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to