AnsweredAssumed Answered

Display asset content without <@streamasset

Question asked by morphinof on Apr 22, 2011
Latest reply on Apr 26, 2011 by morphinof
Hi !

In a web script ftl file, i list html files collection from a section and i would like to get the html content of these files.
When i list asset properties i have following ones :

cm:content = org.alfresco.wcm.client.impl.ContentInfo@822086
cm:created = 21 avr. 2011
cm:creator = admin
cm:description = 48.86094,2.422041
cm:modified = 21 avr. 2011
cm:modifier = admin
cm:name = location1.html
cm:title = Someflu Paris
cmis:contentStreamLength = 73
cmis:contentStreamMimeType = text/html
cmis:lastModificationDate = 21 avr. 2011
cmis:name = location1.html
cmis:objectId = workspace://SpacesStore/4a132890-73c8-48e1-83da-45a8b06e481f
cmis:objectTypeId = ws:article
id = workspace://SpacesStore/4a132890-73c8-48e1-83da-45a8b06e481f
type = ws:article
ws:available = yes
ws:publishedTime = 21 avr. 2011

I assume that html content is in cm:content but i dont know how to access to ContentInfo properties.

Outcomes