My Page has a PageProperty with a table containing key value pairs.
The page was created by a confluence user.
Im writing an eventlistener and I want to get those key value pairs.
I tried this java-code:
ContentProperties properties = page.getProperties();
List<ContentProperty> cpList = properties.asList();
for(ContentProperty cp : cpList) {
if(cp.getContentEntity() != null){
System.out.println("CEBodyAsString: " + cp.getContentEntity().getBodyAsString());
}
}
But it returns nothing. So it seems to me that all the ContentProperties have empty ContentEntityObjects.