10-10-2012 09:46 AM
<config evaluator="string-compare" condition="DocumentLibrary" replace="true">
<!– Default (fallback) –>
<template id="default">
<line index="10" id="date">{date}{size}</line>
<line index="20" id="description" view="detailed">{description}</line>
<line index="30" id="tags" view="detailed">{tags}</line>
<!–line index="40" id="categories" view="detailed" evaluator="evaluator.doclib.metadata.hasCategories">{categories}</line–>
<!–line index="50" id="social" view="detailed">{social}</line–>
</template>
</metadata-templates>
</config>
06-21-2013 05:07 AM
06-21-2013 06:42 AM
06-25-2013 07:35 AM
<import resource="classpath:/alfresco/templates/org/alfresco/import/alfresco-util.js">
for (var i=0; i<model.widgets.length; i++)
{
if (model.widgets.id == "NodeHeader")
{
if(model.widgets.options.nodeRef!=null)
{
var nodeDetails = AlfrescoUtil.getNodeDetails(model.nodeRef, model.site);
// var jsNode = new Alfresco.util.Node(model.widgets.options.nodeRef);
if(model.widgets.options.node.hasAspect("custom:customAspect")){
model.widgets.options.showFavourite = false;
model.widgets.options.showLikes = false;
}
}
}
}
06-25-2013 12:10 PM
06-27-2013 01:44 AM
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.