You are here

getRenditionByName

getRenditionByName(node, renditionName) retrieves existing renditions for a node by rendition name.

Parameters

node
The source nodes for the renditions.
renditionName
The name used to identify a rendition. For example cm:doclib or {http://www.alfresco.org/model/content/1.0}imgpreview.

Returns

Returns a ScriptNode which represents the parent association for the rendition or null if there is no such rendition.

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.