MyTetra Share
Делитесь знаниями!
О, смотри-ка какое хорошее место. Дайте два!
Как добавить поля в расширенном поиске Alfresco
06.02.2012
11:06
Раздел: Компьютер - Управление проектами - Tomcat и Alfresco

in your web-client-config-custom.xml file:

<config>

<client>

<simple-search-additional-attributes>

<qname>{http://www.alfresco.org/model/content/1.0}description</qname>

<qname>{http://www.alfresco.org/model/content/1.0}title</qname>

</simple-search-additional-attributes>

</client>

</config>

Then you can just say, search for a contract number and it'll appear in the result set. I clicked on Advanced Search, thinking that the same functionality would be used for the Look for search bar in Advanced Search, however it wasn't. Looking into this, the only way it seems I can search on my custom properties, is by defining them within web-client-config-custom.xml as follows:

<config evaluator="string-compare" condition="Advanced Search">

<advanced-search>

<content-types>

</content-types>

<custom-properties>

<meta-data aspect="app:simpleworkflow" property="app:approveStep" />

</custom-properties>

</advanced-search>

</config>

Так же в этом разделе:
← Содержание ...
 
MyTetra Share v.0.35
Яндекс индекс цитирования