Support for Live Data in Velocity

Last modified by Vincent Massol on 2024/01/30 13:35

It is now possible to insert a Live Data using scripting instead of using the usual liveData macro.

Example using Velocity:

$services.liveData.render({
  'id': 'users',
  'properties': '_avatar,doc.name,first_name,last_name',
  'source': 'liveTable',
  'sourceParameters': 'className=XWiki.XWikiUsers&translationPrefix=xe.userdirectory.'
})

Get Connected