cancel
Showing results for 
Search instead for 
Did you mean: 

New Aspect to Alfresco

cgonzalez
Champ on-the-rise
Champ on-the-rise
Hi, i have added a new aspect to Alfresco using a new model. I haven't received any error but i can't add this new aspect to any of my files. How can i confirm that the new aspect is well installed??.

Thanks.
7 REPLIES 7

jpfi
Champ in-the-making
Champ in-the-making
Hi,
adding a new aspect as a model definition and be able to add the aspect via Web Client are two different steps.
Take a look here: http://ecmarchitect.com/images/articles/alfresco-content/content-article.pdf especially page 15ff
Cheers, Jan

cgonzalez
Champ on-the-rise
Champ on-the-rise
Hi, my model works fine if i follow the steps of this tutorial. But what i have been trying to do is to extends the alfresco repository using an AMP file. And using the same files i can get that this work propertly.


Thanks

jpfi
Champ in-the-making
Champ in-the-making
Hi,
are you getting sth. like this:

hh:mm:ss User:System INFO  [repo.module.ModuleServiceImpl] Found x module(s)
hh:mm:ss User:System INFO  [repo.module.ModuleServiceImpl] Installing module
'your module' version xxx
during your alfresco startup in your console?

Cheers, Jan

cgonzalez
Champ on-the-rise
Champ on-the-rise
Hi,

Yeah, the module was installing the first time, now is just upgrading.

If i write something wrong in the model i get errors, so i guess that how i don't get any error right know all is upgrading fine.

Thanks

jpfi
Champ in-the-making
Champ in-the-making
Hi,
ok, please post a little more infos. What Alfresco version are you using?
Perhaps post the structure of your module. Where did you put your web client customisation data…

Cheers, Jan

cgonzalez
Champ on-the-rise
Champ on-the-rise
Hi

I'm using Alfresco 2.1.0 Community

This is the structure of my amp file:

/
>>config/
>>>>alfresco/
>>>>>>module/
>>>>>>>>mymoduleid/
>>>>>>>>>>context/
>>>>>>>>>>>>bootstrap-context.xml
>>>>>>>>>>model/
>>>>>>>>>>>>exampleModel.xml
>>>>>>>>>>ui/
>>>>>>>>>>>>web-client-config.xml
>>>>>>>>>>webscripts/
>>>>>>>>>>module-context.xml
>>module.properties

cgonzalez
Champ on-the-rise
Champ on-the-rise
Hi

I haven't change anything but now everything works, i think that i was deploying an old version of my amp.

Thanks for your help.