You are here

ScriptContentData API

The ScriptContentData API provides several methods and properties related to node properties of type d:content; for example, document.properties.content.

Properties

content
A read/write value that represents the content as a string
mimetype
Guess and apply the MIME type to the content based on the file name
encoding
A read/write string value that represents the encoding of the content
size
A read-only long value that represents the size (in bytes) of the content
url
A read-only string representing the download URL for the content
downloadUrl
A read-only string representing the download (as attachment) URL for the content

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.