cancel
Showing results for 
Search instead for 
Did you mean: 

searching by aspects doesn't work in share

gelek
Champ in-the-making
Champ in-the-making
Hello,

1. I installed Alfresco Share - Community 5.1.0 (r122274-b3)
<cite>http://localhost:8080/share/</cite>


2. In admin tool <strong> Model manager </strong>  created one <strong> new model "MODEL" </strong>, then one <strong> new aspect "FILE"</strong> and one <strong> new property  "NUMBER"</strong>.
The new property have data type: <strong> d:int</strong>.
I used Layout designer.

http://localhost:8080/share/page/console/admin-console/custom-model-manager


3. I actived <strong> new model "MODEL" </strong>.

4. I uploaded a new file to repository
http://localhost:8080/share/page/context/shared/sharedfiles

5. In tool <strong> Manage Aspects </strong> added aspect <strong>"FILE"</strong> to uploaded file.

6. I edited properties of ulpoaded files and entered value "500" in the property <strong> "NUMBER"</strong>.
I saved properties this file.

7.  In admin tool <strong> Search Manager </strong> created one <strong> new filter "FILTER NUMBER" </strong>.
In <strong>Filter Property</strong> used my property <strong> "NUMBER"</strong> and checked <strong> Show with Search </strong>.
I saved this filter.

8. I tried search in repository files by my property <strong> "NUMBER"</strong>, entered value "500".
I can't find my files with property "NUMBER".

Please help me.
Thanks.


1 REPLY 1

jpotts
World-Class Innovator
World-Class Innovator
I cannot reproduce this problem on the same version of Alfresco.

I am attaching a screenshot showing that I can search on text and then further filter that search using my custom filter based on an int property defined in an aspect.

I can also get to the document directly by querying for "tm:someNumber:500".

Jeff