Updates to Page Creator Tool

Showing results for 
Search instead for 
Did you mean: 

Updates to Page Creator Tool

Intermediate II
0 4 1,537
by Dave Draper


I've recently committed some updates to the Alfresco Community SVN repository that enable some new Aikau page creation capabilities in Share. These changes are only currently available (at the time of writing) in nightly builds of Community and you will need to download the updated PageCreator extension (you'll need to remove the previous JAR!).

There are two new main features – the first is the ability to edit previously created page definitions (created using the drag-and-drop editor) and the second is the ability to export a page definition as a WebScript JavaScript controller.

Some Caveats

There are a couple of caveats to be aware of:

  1. The edit function can end up pushing around some fairly sizeable JavaScript objects and can take down Firefox if you happen to have Firebug running (some future optimizations are required to the code – but this is not supported production quality code yet!)

  2. The WebScript controller export capability only currently works with Chrome.

...so what I'm really saying is that you should probably try these features out with Chrome!

To edit a previously created page simply add a “page” request parameter onto the end of the URL where the value is the name of a previously created page, e.g:

  • http://<server>:<port>/share/page/hdp/ws/page-creator?page=my-previous-page

Where 'my-previous-page' is the name of the page you want to edit. If that page doesn't exist then the creator will fall back to creating a new page.

When exporting a page model as a WebScript controller it will take the page name and append “.get.js” to it as the name of the download that is generated (obviously you'll need to create the WebScript descriptor and template files – although this should be relatively straightforward to do).

Brief Introduction to QuADDS

You might also notice that some new widgets have appears in the palette – and in particular you might be wondering what “QuADDS” is. I'm going to describe this in a future blog post but just to whet your appetite it stands for 'Quick And Dirty Data Structures' and is a mechanism that enables you to persist and retrieve data objects that are derived entirely from the UI that you build. This means that it is possible to quickly prototype out Aikau pages without needing to build a custom model and the associated REST API and services.

If you want to try it out (before I get around to describing it in more detail) then you'll need to create a new folder in the “Data Dictionary” called “QuADDS” and create and view pages as “admin”.


The Page Creator Tool is still very much a work in progress (and not necessarily something that will ever get into a production release) however the lack of an 'edit' capability was obviously something that was required.

I'm grateful for any feedback on these updates and the Page Creator Tool in general - so please feel free to comment anything below (bugs, questions, ideas, constructive criticism, etc).
Active Member
Hello, This is Vinod I downloaded alfresco source code from https://wiki.alfresco.com/wiki/Source_Code but when I export it into eclipse I found error in half of the project because of source code missing and unavailability of supported file. I solved few of them whenever I run the project which contains the pom.xml as maven install it throwing errors saying NullPointerException.

My requirement is I need to work on Alfresco document management system but I'm unable to find the project related let me know which is the project related to it, I didn't find any of the project as web application in downloaded projects.

My main requirement is can we Integrate xwiki widget in Alfresco? and Can we implement SSO between Alfresco and Xwiki?
Intermediate II
@Vinod This is completely the wrong place for this sort of question - it has nothing to do with the blog post, I'd suggest you raise the question on the Alfresco forums: http://forums.alfresco.com/forum
Active Member

For me the widget properties are not getting properly displayed in the palette. It shows up an overlay div, but doesn't have all property fields on it. Some times I can see only Save and Cancel buttons. For most of the publications, services and widgets, the properties dialog was not positioned properly and all fields were not displayed.

Am I missing something, or is it a css problem. I tried in IE, chrome and Firefox.

Please advice.  Thanks.
Intermediate II
@Girish - This is a really old blog post... the Page Creator tool was really only a proof-of-concept to demonstrate how the declarative nature of Aikau could be applied to a drag-and-drop page creation interface. I wouldn't recommend that you try to use it for development.