I am using Alfresco Community 5.2. I used Alfresco Maven SDK 3.0 to generate AMPs for the repository tier and share UI tier. I did customization in the share config custom XML, etc.
During customization of Share UI, when I execute the run.bat (that is in the customization folder), in the Advanced Search, in the Look For dropdown, I am able to see the (all the) custom types I defined, along with Content & Folders. But when I deploy (apply) the same AMPs in 5.2 community server, and restarted Alfresco service, I could not see the same types in the Advanced Search Look For dropdown. In 5.2 community server, however, please note that the custom aspect properties (of the types) do show up in the Edit Properties of an image or file that I uploaded. So, the aspect and the properties are recognized. Also, I can define a rule on a folder to specialize to one of these custom document types.
That is a good find. Another model we deployed a year back as amps has replace=true (only for the Advanced Search configuration). These amps are already applied to the existing Alfresco Community 5.2. Now, how would I go about fixing this.
Recreate only the share amp for the other model by setting replace=false From alfresco installation, take away the previous amp of this other model Put this new amp in place Do applyamps
Would this work? I guess I do not have to change the repository tier amp since there is no change.