11-25-2010 06:59 AM
11-26-2010 03:38 AM
<@region id=doclibType + "edit-metadata" scope="template" protected=true />
to whereever you want your results to be displayed. FYI, I haven't tested it.11-26-2010 08:13 AM
<component>
<region-id>edit-metadata</region-id>
<url>/components/form</url>
<properties>
<itemKind>node</itemKind>
<itemId>{nodeRef}</itemId>
<mode>edit</mode>
<submitType>json</submitType>
<showCaption>true</showCaption>
<showCancelButton>true</showCancelButton>
</properties>
</component>
<component>
<region-id>repo-edit-metadata</region-id>
<url>/components/form</url>
<properties>
<itemKind>node</itemKind>
<itemId>{nodeRef}</itemId>
<mode>edit</mode>
<submitType>json</submitType>
<showCaption>true</showCaption>
<showCancelButton>true</showCancelButton>
</properties>
</component>
02-17-2011 10:47 AM
<?xml version='1.0' encoding='UTF-8'?>
<template-instance>
<template-type>org/alfresco/edit-metadata</template-type>
<properties>
<pageFamily>documentlibrary</pageFamily>
<container>documentLibrary</container>
</properties>
<components>
<!– title: normal, portlet, repository & portlet+repository –>
<component>
<region-id>title</region-id>
<url>/components/title/collaboration-title</url>
</component>
<component>
<region-id>portlet-title</region-id>
<url>/components/title/portlet-collaboration-title</url>
</component>
<component>
<region-id>repo-title</region-id>
<url>/components/title/simple-title</url>
<properties>
<title>title.repository</title>
<subtitle>title.browser</subtitle>
</properties>
</component>
<component>
<region-id>portlet-repo-title</region-id>
<url>/components/title/simple-title</url>
<properties>
<title>title.repository</title>
<subtitle>title.browser</subtitle>
</properties>
</component>
<component>
<region-id>navigation</region-id>
<url>/components/navigation/collaboration-navigation</url>
</component>
<!– web-preview: normal & repository –>
<component>
<region-id>web-preview</region-id>
<url>/components/preview/web-preview</url>
<properties>
<nodeRef>{nodeRef}</nodeRef>
</properties>
</component>
<component>
<region-id>repo-web-preview</region-id>
<url>/components/preview/web-preview</url>
<properties>
<nodeRef>{nodeRef}</nodeRef>
</properties>
</component>
<!– edit-metadata-mgr: normal & repository –>
<component>
<region-id>edit-metadata-mgr</region-id>
<url>/components/edit-metadata/edit-metadata-mgr</url>
</component>
<component>
<region-id>repo-edit-metadata-mgr</region-id>
<url>/components/edit-metadata/edit-metadata-mgr</url>
</component>
<!– edit-metadata: normal & repository –>
<component>
<region-id>edit-metadata</region-id>
<url>/components/form</url>
<properties>
<itemKind>node</itemKind>
<itemId>{nodeRef}</itemId>
<mode>edit</mode>
<submitType>json</submitType>
<showCaption>true</showCaption>
<showCancelButton>true</showCancelButton>
</properties>
</component>
<component>
<region-id>repo-edit-metadata</region-id>
<url>/components/form</url>
<properties>
<itemKind>node</itemKind>
<itemId>{nodeRef}</itemId>
<mode>edit</mode>
<submitType>json</submitType>
<showCaption>true</showCaption>
<showCancelButton>true</showCancelButton>
</properties>
</component>
</components>
</template-instance>
<#include "include/alfresco-template.ftl" />
<@templateHeader />
<@templateBody>
<div id="alf-hd">
<@region id=appType + "header" scope="global" protected=true />
<@region id=appType + doclibType + "title" scope="template" protected=true />
<@region id=appType + doclibType + "navigation" scope="template" protected=true />
</div>
<div id="bd">
<div class="yui-g">
<div class="yui-g first">
<#if (config.scoped['DocumentDetails']['document-details'].getChildValue('display-web-preview') == "true")>
<@region id=doclibType + "web-preview" scope="template" protected=true />
</#if>
</div>
<div class="yui-u">
<@region id=doclibType + "edit-metadata-mgr" scope="template" protected=true />
<@region id=doclibType + "edit-metadata" scope="template" protected=true />
</div>
</div>
</div>
</@>
<@templateFooter>
<div id="alf-ft">
<@region id="footer" scope="global" protected=true />
</div>
</@>
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.