I want to make a Livetable macro where one of the columns gives only the direct parent of the page (preferably clickable). I can’t seem to find a way to do this. Using doc.location I can get that information and more, but how do I edit something in a column? Is there some way to edit what is displayed in the column entrywise (then i could for example edit the html code so it only includes the relevant part). Or is there a smarter way to achieve this result? Minimal code below.
#set($location = "doc.location")
#set($columns = ["doc.title", $location])
#set($columnsProperties = {
"doc.title" : { 'displayName' : 'Title', 'type' : 'text' , 'link' : 'view' },
$location: {'displayName' : 'Werkingsjaar'}
})
#set($options = {
"tagCloud" : true,
"rowCount": 10,
"extraParams": "&location=Main.Activities&tag=${doc.getTitle()}"
})
#livetable(0 $columns $columnsProperties $options)