I've got community version 6.1.2 running on a CentOS7 server.
I created a custom model (named: correspondence) and added an aspect (outboundletter) with two fields (letterreference, lettersubject). Then I added a layout for the aspect.
Now I can select an upload PDF, assign it the aspect and clicking on "Edit Properties" allows me to view & edit the letter reference number and subject.
How do I search for items by reference number or subject?
Hi,
Maybe these links could be useful:
https://community.alfresco.com/message/842401-advanced-search-on-custom-properties-doesnt-work
https://community.alfresco.com/message/836767-alfresco-60-advanced-custom-search-query
Regards,
clv
Hi Jose
As per the link you shared, I copied /root/alfresco-content-services-community-distribution-6.1.2-ga/web-server/shared/classes/alfresco/web-extension/share-config-custom.xml to my Tomcat installation folder: /usr/share/tomcat/shared/classes/alfresco/web-extension/
This file didn't have a section for <config evaluator="string-compare" condition="Search" replace="true"> so I added it:
<config evaluator="string-compare" condition="Search" replace="true">
<search>
<min-search-term-length>1</min-search-term-length>
<max-search-results>250</max-search-results>
<max-users-search-results>20</max-users-search-results>
<repository-search>always-options</repository-search>
<display-facets>true</display-facets>
</search>
<sorting>
<sort labelId="search.sort.relevance" isSortable="false"></sort>
<sort labelId="label.name" isSortable="true">cm:name</sort>
<sort labelId="label.title" isSortable="true">cm:title</sort>
<sort labelId="label.description" isSortable="false">cm:description</sort>
<sort labelId="label.author" isSortable="false">cm:author</sort>
<sort labelId="label.modifier" isSortable="true">cm:modifier</sort>
<sort labelId="label.modified" isSortable="true">cm:modified|false</sort>
<sort labelId="label.creator" isSortable="true">cm:creator</sort>
<sort labelId="label.created" isSortable="true">cm:created|false</sort>
<sort labelId="search.sort.size" isSortable="true">.size|true</sort>
<sort labelId="search.sort.mimetype" isSortable="true">.mimetype</sort>
<sort labelId="search.sort.type" isSortable="true">TYPE</sort>
<sort label="Outbound Letter No." isSortable="true">correspondence:letternumber</sort>
</sorting>
</config>
The last is my custom field in the custom aspect.
After restarting Tomcat, there is no change in the "Advanced Search" screen; this field is not shown.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.