share-config-custom.xml modification question

Added by Paul McCann 572 days ago

I have installed your search enhancement in Alfresco and im having a few issues, which I have put down to the modifications we made to share-config-custom.xml.

We had already modified this file quite a lot and so added in the parts we thought were OK, but when going to share we get the following error

"Not enough configuration found for item "cm:folder", at least one <show> element must be present."

Could you possibly outline, which parts of that file need to be copied across and what they need to reference, the person who modified our file is no longer with us and im trying to pick up as I go along. I also notice that the file has two blocks of code starting with <config evaluator="node-type" condition="st:sites" > in it, and they appear to be identical, does the file need to have these two sections in?

We are using the latest Enterprise version of your script and Alfresco (3.2.0)

thanks for any help you can give
Paul


Replies

RE: share-config-custom.xml modification question - Added by Aymen SAYHI 557 days ago

Hi Paul,

You need to have at least a config tag for "cm:folder", similar to the default one, and it should have an additional form config having the id "basic-search-form".

Regarding config tag for "st:sites", it was added especially for repo. view, because sites folders have that type instead of "cm:folder", so we should define a search form for that type.

Remember that "share-config-custom.xml" has too possible locations: "tomcat/webapps/share..." and "tomcat/shared/...", it may be the cause of the issue.

I Hope it helps,

Best Regards,

Reply