As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
page.get.desc.xml: <webscript> <shortname>My New Page</shortname> <url>/hdp/ws/my-new-page</url> <authentication>user</authentication> </webscript> page.get.js: function main () { // Get the args var fileProp = args["test"]; model.temp = fileProp; } main(); page.get.html.ftl: Test arg: ${temp}
<@processJsonModel />
model.jsonModel = { widgets: [{ id: "SET_PAGE_TITLE", name: "alfresco/header/SetTitle", config: { title: "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" } ] } }] };