cancel
Showing results for 
Search instead for 
Did you mean: 

Metadata filters

fararjeh
Champ in-the-making
Champ in-the-making
Hi

Workdesk has feature to add metadata filters for result list view , how I can create it ? please give me full configuration .

[img]https://forums.alfresco.com/sites/forums/files/21212.png[/img]
4 REPLIES 4

deko
Star Contributor
Star Contributor
Hi farajeh,

You have to enable this view in your used owplugins.xml and the used master plugin. There are two filterable list view classes:

- com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewFilterEXTJSGrid (which is an Ajax filterable list)
- com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewFilterRow (which is an HTML filterable list)

Exemplary with COnfigurator generated XML section in owplugins.xml:

      <view classname="com.wewebu.ow.server.dmsdialogs.views.OwObjectListViewFilterRow">        <!–        <paging classname="com.wewebu.ow.server.dmsdialogs.views.+            OwNumberBlockPageSelectorComponent (with <UseImages>) or            OwVicinityPageSelectorComponent (with <NumberOfSelectablePages>) or            OwDirectInputPageSelectorComponentTextBased or            OwDirectInputPageSelectorComponent (default)">        –>        <viewmasks>          <mask>VIEW_MASK_USE_DOCUMENT_PLUGINS</mask>          <mask>VIEW_MASK_INSTANCE_PLUGINS</mask>          <mask>VIEW_MASK_MULTI_SELECTION</mask>        </viewmasks>      </view>‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

Best regards,
Dennis

fararjeh
Champ in-the-making
Champ in-the-making
Hi deko,

Thanks for the help,It works Properly, but Can I work for more than a filter element at the same time ? for example filter for name and age .

deko
Star Contributor
Star Contributor
Hi fararjeh,

This is not possible with filterable list. In filterable list you can only use one filter at the same time. Are you listing physical content or virtual content? It is possible to realize your requirement with editable search fields in virtual structures (see attachment), by setting the whereprop condition editable:

Example:
<whereprop editproperty="editable" symname="D:owd:hrdocument.owd:documentPersonnelNumber">‍‍‍

Best regards,
deko

fararjeh
Champ in-the-making
Champ in-the-making
Big Thaaaaaaaaaaanks Smiley Happy