02-23-2016 03:45 PM
<action id="my-action" type="pagelink" label="My Action"
icon="my-action">
<param name="page">hdp/ws/my-action?nodeRef={node.nodeRef}</param>
<permissions>
<permission allow="true">Write</permission>
</permissions>
<evaluator>evaluator.doclib.action.isFolder</evaluator>
</action>
<webscript>
<shortname>Custom Action Page</shortname>
<description>Custom action description</description>
<url>/my=action?nodeRef={noderef}</url>
<authentication>user</authentication>
</webscript>
var noderx = args.nodeRef;
model.jsonModel = {
widgets: [{
id: "SET_PAGE_TITLE",
name: "alfresco/header/SetTitle",
config: {
title: noderx + "-This is a simple page"
}
},
{
id: "MY_HORIZONTAL_WIDGET_LAYOUT",
name: "alfresco/layout/HorizontalWidgets",
config: {
widgetWidth: 50,
widgets: [
{
name: "alfresco/logo/Logo",
config: {
logoClasses: "alfresco-logo-only"
}
},
{
name: "example/widgets/TemplateWidget"
}
]
}
}]
};
02-23-2016 03:51 PM
02-23-2016 04:38 PM
02-26-2016 02:46 AM
02-26-2016 10:08 AM
02-29-2016 01:37 AM
var noderx = page.url.args.nodeRef ;
02-29-2016 01:04 PM
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.