Hi!
I’m trying to fill out Livetable based on JSON data.
The property Custom Dispaly contains the following script:
{{velocity}}
#set($columns = ["first_name", "last_name", "editor"])
#set($columnsProperties = {
"first_name" : { "type" : "text" , "size" : 20, "link" : "view"},
"last_name" : { "type" : "text" , "size" : 20, "link" : "view"},
"editor" : { "type" : "list", "class": "XWiki.XWikiUsers"}
})
#set($options = {
"resultPage":"Test.TestJSON",
"translationPrefix" : "",
"rowCount": 10
})
#livetable("organization_directory" $columns $columnsProperties $options)
{{/velocity}}
TestJSON page located at Test space and contains the script:
{{include reference="XWiki.LiveTableResultsMacros" /}}
{{velocity wiki="false"}}
#gridresultwithfilter("XWiki.XWikiUsers" $request.collist.split(",") "" " and doc.name<>'OrganizationSheet' and doc.name<>'OrganizationTemplate'")
{{/velocity}}
When I open the page, I only see the filled-in list of the filter in the editor field:
How do I get a list of users?
Thanks for the help.