AnsweredAssumed Answered

Add aspect to type

Question asked by sihnu on Mar 28, 2011
Latest reply on Mar 30, 2011 by sihnu

I've defined a custom aspect in my own custom model and now I would like to add that aspect to a type in another custom model I've made. I've tried importing it. This is the namespace in the model where the aspect is defined:

<namespace uri="" prefix="test"/>

And this is the import in the model where the type is defined:

<import uri="" prefix="test"/>

For some reason this breaks my Alfresco. Both of those models works fine alone. This is the way I would add the aspect to my type. Though not got that far as the import breaks it. Anyway, I'm not sure if this is the right way so I paste it here now:


I'm doing it wrong so could someone help me how to do it properly? Until then I will just define the aspect in the model where the type is defined also. But this breaks the idea of aspects, doesn't it?

Thanks in advance.