Last modified by superadmin on 2026/11/25 21:43

Hide last authors
Eleni Cojocariu 1.1 1 1. Open the page holding the live table, to see the list it displays before changing anything.(((
Eleni Cojocariu 1.3 2 {{image reference="live-table.png" size="extra" alt="A page displaying its entries as a live table, with a results count above the column headers and a filter row under them"/}}
Eleni Cojocariu 1.1 3 )))
4 1. Add ##useLiveData=true## to the query string of that URL, to see the same live table rendered as a Live Data without touching the page.
Vincent Massol 6.1 5 1. Replace the ##livetable## Macro call by a [[Live Data>>doc:documentation.xs.user.livedata.WebHome]] ##liveData## Macro call whose ##source## is ##liveTable##, moving ##className##, ##resultPage##, ##queryFilters## and ##translationPrefix## into the ##sourceParameters## query string, and the columns into ##properties##.
Eleni Cojocariu 1.1 6 1. Set ##template## instead of ##resultPage## if the results came from a Velocity template, named in the ##xpage## query string of the live table ##url## configuration.
7 1. Convert the ##extraParams## entries used for filtering into the ##filters## Macro parameter, and move the rest into ##sourceParameters##.
8 1. Save the page and check every converted filter. The list is displayed as a Live Data, as follows:(((
9 {{image reference="migrated-live-data.png" size="extra" alt="The same list after the migration, displayed as a Live Data by a liveData Macro"/}}
10 )))
11
12 The results page itself needs no change, which is what makes the migration a rewrite of the Macro call only. The filters are worth checking one by one because a source parameter passed straight through is not guaranteed to have the same effect on a Live Data as it had on a live table.

Get Connected