For the Sling explorer app, I would like to get the maximum of information on the resource properties. I'm using the following code in my esp script :
var valueMap = resource.adaptTo(Packages.java.util.Map); var propertyIterator = valueMap.keySet().iterator(); After that, I can loop on the propertyIterator to get all properties. That works fine but I have 3 questions : 1. Is it possible to get the type of a property ? 2. how can I check if the property is a single or multi value prop ? 3. If it is a multi value prop, how can I get the values ? br, Christophe
