cancel
Showing results for 
Search instead for 
Did you mean: 

Create Web Project in Code

mark_smithson
Champ in-the-making
Champ in-the-making
Is it possible / feasible to create a web project in code, or perhaps by running an import via code

If so, how would you go about it?
1 REPLY 1

kvc
Champ in-the-making
Champ in-the-making
Mark:


But of course. 

You'll want to check out our source from SVN.  You can find instructions for how to do that on our wiki. 

In the source, you'll want to look at /ROOT/projects/web-client/source/java/org/alfresco/web/bean/WebProject.java

Also, in the same directory, SandboxFactory.java

This will introduce you to how we create various stores and layer those stores to create a web project and its associated sandboxes in the AVM, as well as associate them different configured web forms.

Let us know if that works for you.  Also, might be interesting for you to give us an overview of what you are doing; we'd love to take any learnings away for future releases.


Kevin