cancel
Showing results for 
Search instead for 
Did you mean: 

Advanced space wizard otion under web projects

lakshmi
Champ in-the-making
Champ in-the-making
Hi all,

I want to use the "advanced space wizard"  (space template option) in spaces created inside web projects

I edited the web-clint-config-wcm-actions.xml to include the advanced space wizard action:

<action id="create_space_wizard">
            <permissions>
               <permission allow="true">CreateChildren</permission>
            </permissions>
            <label-id>advanced_space_wizard</label-id>
            <image>/images/icons/create_space.gif</image>
            <action>wizard:createSpace</action>
         </action>

I can see the advanced space wizard option in the create menu link (under web projects)…but the content i create doesnt appear in the web client.

Am i going wrong anywhere? what other files shud i edit? pls someone help out…

thanks in advance,
Lakshmi
4 REPLIES 4

mikeh
Star Contributor
Star Contributor
Web projects use a different file structure to the document spaces, so this is unlikely to work.

However, v2.2. will have web project templates built-in, so I suggest you'd be better off watching for a release of that version early in the New Year.

Thanks,
Mike

lakshmi
Champ in-the-making
Champ in-the-making
Thanks Mike!

But i was trying out other option Web Porjects–> Create –> Advanced Space Wizard –> Based on existing Space option.

My steps::
I created a web project 'PrimeWebProject'.
I tried to create 'MyFirstSubProject', 'MyFirstSubProject' ect using Web Porjects–> Create –> Advanced Space Wizard –> Based on existing option and selected 'PrimeWebProject' as my web proj (which i did like to replicate)
Suppose i decide i no longer need 'MyFirstSubProject' and delete it, then i click on 'PrimeWebProject', I get

caused by:
org.alfresco.service.cmr.avm.AVMNotFoundException: Store not found.


I see that the avm root for the subprojects is same as my prime project.
Is there any work around? What i basically want is when i create new sub projects i want certains folder structure to be replicated automatically on creation of sub projects from my prime projects. Is there a way to do it in 2.1 version?

Hope i am clear about my requirement…..

Pls…let me know and thanks in advance

Lakshmi

mikeh
Star Contributor
Star Contributor
This looks like it might be a bug in v2.1.

However, creating web projects from templates has been completely changed in v2.2 which will probably suit your requirement better.

Thanks,
Mike

lakshmi
Champ in-the-making
Champ in-the-making
Thanks Mike!

In the meantime i was trying out some temporary solution. I added an action under the action-group id avm_create_menu wherein my action will excute a script. This script will copy the folder structure i want from company home space to my web project user sanbox. This works and seems to be a temporary work around but the problem is it takes lot of time to execute copy function in my script.

Is there any other way to achieve my solution?

Thanks in advance,
Lakshmi