Error message: "Not enough configuration found for item . . . , at least one <show> element must be present." ???
Added by Guy Cardwell 662 days ago
I set the type for a space, when I click on the space in the folder tree on the left part of the screen in the Share Document Library, I get the error message in red : "Not enough configuration found for item . . . , at least one <show> element must be present." in place of the search panel. What is wrong?
Replies
RE: Error message: "Not enough configuration found for item . . . , at least one <show> element must be present." ??? - Added by Aymen SAYHI 661 days ago
Hi Guy,
Thank you for using our extension.
Concerning this issue, you simply need to define at least a deault form for that type in "share-config-custom.xml" config file.
Let's suppose your type is "ns:typename", you'll need to add a <config> tag for that type in "share-config-custom.xml".
That config tag should contain at least the basic search form definition <form id="basic-search-form"> like following:
1 <alfresco-config>
2 ...
3 <config evaluator="node-type" condition="ns:typename" >
4 <forms>
5 <form id="basic-search-form">
6 <field-visibility>
7 ...
8 </field-visibility>
9 <appearance>
10 ....
11 </appearance>
12 </form>
13 ...
14 </forms>
15 </config>
16 </alfresco-config>
This should solve your issue, don't hesitate to give us a feedback.
Best Regards,
RE: Error message: "Not enough configuration found for item . . . , at least one <show> element must be present." ??? - Added by Guy Cardwell 656 days ago
Yes, this worked. thank you!
RE: Error message: "Not enough configuration found for item . . . , at least one <show> element must be present." ??? - Added by Aymen SAYHI 653 days ago
Glad to hear that !