02-17-2012 07:02 AM
02-20-2012 03:35 AM
02-20-2012 04:13 AM
02-23-2012 06:10 AM
02-28-2012 03:25 AM
03-05-2012 05:43 AM
// Render the cell
var name = oRecord.getData("displayName");
var htmlName = $html(name);
var html = '<span><a href="' + url + '"><img src="' + imageUrl + '" alt="' + htmlName + '" title="' + htmlName + '" /></a></span>';
if (dataType === "document")
{
var viewUrl = Alfresco.constants.PROXY_URI_RELATIVE + "api/node/content/" + oRecord.getData("nodeRef").replace(":/", "") + "/" + oRecord.getData("name");
html = '<div class="action-overlay">' +
'<a href="' + encodeURI(viewUrl) + '" target="_blank"><img title="' + $html(me.msg("label.viewinbrowser")) +
'" src="' + Alfresco.constants.URL_RESCONTEXT + 'components/search/images/view-in-browser-16.png" width="16" height="16"/></a>' +
'<a href="' + encodeURI(viewUrl + "?a=true") + '" style="padding-left:4px" target="_blank"><img title="' + $html(me.msg("label.download")) +
'" src="' + Alfresco.constants.URL_RESCONTEXT + 'components/search/images/download-16.png" width="16" height="16"/></a>' +
'</div>' + html;
}
elCell.innerHTML = html;
<customizations>
<customization>
<targetPackageRoot>org.alfresco</targetPackageRoot>
<sourcePackageRoot>org.thirdparty.extension</sourcePackageRoot>
<dependencies>
<js src="/custom/my-customization.js" />
<css>/res/dependencies/addition_styles.css</css>
</dependencies>
</customization>
</customizations>
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.