cancel
Showing results for 
Search instead for 
Did you mean: 

Limiting sub-folder/item types per space

protenus
Champ in-the-making
Champ in-the-making
Is it possible for example in alfresco 2.9b to limit what content types or space types are available for creation in a certain space.

For example:

We have a root space called "Companies" (custom type)
in this Companies space we want to limit the user to only be able to create sub spaces of 7 custom types which we have created.
(Financial, Human resources, Research ,etc.)

In each of those spaces they should only be able to create content of certain types, again custom types we have defined in our model.

For example:

In "Financial" sub-space only 5 document types can be created, P&L, Balance Sheet, etc…

We have already created the model… Does associations already do this limiting, it doesnt seem so, or maybe the way we use associations is not correct.

Thanks,

M
2 REPLIES 2

protenus
Champ in-the-making
Champ in-the-making
How would we create this custom space browser, this actually solves a couple of our challenges.

How do we associate a custom browse to a certain folder type/aspect?

Thanks,

M

rivarola
Champ on-the-rise
Champ on-the-rise
You have to create your custom UI (jsp and JSF backing bean) and override the configuration in web-client-config-custom.xml like Alfresco engineers did for forums, for your own folder type :
   <config evaluator="node-type" condition="fm:forum">
      <navigation>
         <override from-view-id="/jsp/browse/browse.jsp" to-view-id="/jsp/forums/forum.jsp" />
         <override from-outcome="browse" to-view-id="/jsp/forums/forum.jsp" />
         <override from-outcome="showSpaceDetails" to-view-id="/jsp/forums/forum-details.jsp" />
      </navigation>
   </config>