On 8 Oct 2014 at 06:24:53, Jason Clemons
(jason.clemons@live.com(mailto:jason.clemons@live.com)) wrote:
  I'd like to do the same :)
 -----Original Message-----
 From: users [mailto:users-bounces@xwiki.org] On Behalf Of Bryn Jeffries
 Sent: Tuesday, October 7, 2014 8:54 PM
 To: users(a)xwiki.org
 Subject: [xwiki-users] DBlist with external query data?
 Please forgive my ignorance, but is it possible to use DBList with queries
 to other databases? I'd very much like to use this element populated with
 the results from a query to another database running on the same server as
 XWiki, but the only documentation I can find describes queries of the XWiki
 database. 
No, you cannot do that with DBList. It’s expecting a HQL query actually (and we’ve been
needing to add support for XWQL too for a very long time).
Another direction could be to look at adding a new type for that,
see 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/CreatingNewXClassProperty… (I
don’t know if it would work though, it may be too tied to the XWiki data model).
Too bad that Computed Field only supports one value...
Thanks
-Vincent