AnsweredAssumed Answered

Problem and unknown when install amp in alfresco

Question asked by cperez on Jun 13, 2014
Latest reply on Jun 18, 2014 by cperez
Hi all.

I'm developing an amp module and I need help.

First of all, I import a space template.acp to "space template" within "data dictionary" and this work fine.

But I want to create at the same time as I Install the amp, or start alfresco to create Space from that template within all childnodes in "company_home/Input_data/Entity" and I dont know how.
I want to do that automatically.
How I can do?

I have also created a link menu I want to show only within the spaces will be created whit the previous method. To do this I have the following code but it adds to me this links whithin all spaces.


<alfresco-config>
   <config>
         <action id="subir_Documentacion">
               <label-id>digit_title</label-id>
               <image>/images/icons/scan16x16.png</image>
               <action>wizard:digitWizardApplet</action>
               <action-listener>#{BrowseBean.setupSpaceAction}</action-listener>
               <params>
                     <param name="id">#{actionContext.id}</param>
               </params>
          </action>
      
         <action-group id="space_browse_menu">
               <action idref="subir_Documentacion" />
         </action-group>
      </config>
     
</alfresco-config>


How I can do to only be done in specific spaces?

thank a lot!!

Outcomes