You are here

getRenditions

The getRenditions methods retrieve existing renditions for a node.

getRenditions(node)

getRenditions(node) this method gets renditions for the specified node.

Parameters

node
The node whose renditions are requested

Returns

Returns a ScriptNode array of all existing rendition objects for the specified node.

getRenditions(node, mimeTypePrefix)

getRenditions(node, mimeTypePrefix) this method gets renditions for the specified node.

Parameters

node
The node whose renditions are requested
mimeTypePrefix
A filter to restrict the renditions returned to those whose MIME-type starts with the prefix. This must not be null or an empty string.

Returns

Returns an array of ScriptNode objects representing all existing rendition objects for the specified node whose MIME-type starts with the given filter string.

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.