cancel
Showing results for 
Search instead for 
Did you mean: 

How to associate a content model with a content space?

debi
Champ in-the-making
Champ in-the-making
I would like to know if Alfresco provides any API to associate a space to acustom content model. Can anyone help me out with a code snippet.
Cheers,
Debi.
3 REPLIES 3

cbosdonnat
Champ in-the-making
Champ in-the-making
Hi debi,
If you mean allowing the content model to apply only in a given space, then there is no API for this. However you could tweak the webclient to do as if the content model was available on these nodes.
HTH

alexander
Champ in-the-making
Champ in-the-making
You may also want to consider creating a rule with "Specialise the type of an item" action in the space. This will convert all content items to your selected content type.

debi
Champ in-the-making
Champ in-the-making
Thanks Alexander,
Cheers Debi.