cancel
Showing results for 
Search instead for 
Did you mean: 

Applying AMPs doesn't reflect in Alfresco

pradeepsimha
Champ in-the-making
Champ in-the-making
Hi All,

I require help in this, I am struggling lot from many hours, but still not able to find the solution. I have created a new AMP containing xml file which basically custom content model. I tried copying into amps folder, and run apply_amps.bat under bin folder. Also I tried clearing tmp and work folder inside tomcat. But even after I am doing all of these whatever I made changes it doesn't get reflected.

Say I have created one custom document model which contains 5 properties, later I add another 2 properties. So I rebuild the AMP and deploy it, but when I restart server I don't see the newly created 2 properties, I see only old 5 properties.

But strange thing is If I create a new model, it gets added correctly, but for the same model if I try to add new properties it doesn't get reflected. No matter how many times I try to clear cache, restart alfresco etc.

But strange thing is if I reinstall alfresco and do the same procedure it works flawlessly (obviously it should work because this is as good as creating new content model). I am using MySql as database.

So can anyone help me to understand this behaviour? Is this a bug in community edition?

Can someone please reply to my post as I am struggling lot on this issue?
1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
Please provide your content model and the structure of your AMP. Also, specify what you mean when you say "I try to add new properties and it doesn't get reflected". If you mean they aren't showing up in the Alfresco Share edit properties form, then also provide the snippet from your share-config-custom.xml that is used to configure those properties.

Jeff