cancel
Showing results for 
Search instead for 
Did you mean: 

Custom properties making Searchable with value{Resloved}

jakeer
Champ on-the-rise
Champ on-the-rise
I am able to search custom properties in the Share Search box by typing the namespace followed by the property name followed by the property value. For example, given a property named "pdSmiley Tonguerice", I can search for values of that property like this:

pdSmiley Tonguerice:'100'

But I want users to be able to simply type "100" and search

I am using alfresco Community - 5.1.0 (r122274-b3)

Thanks in advance
10 REPLIES 10

art99trash
Star Contributor
Star Contributor

jakeer
Champ on-the-rise
Champ on-the-rise
Before posting here I saw link which you have suggested but they are using older versions. Currently am using Alfresco Community - 5.1.0 (r122274-b3). In this version I did not find the files which was mentioned there. Could you please some one make me the right move

jakeer
Champ on-the-rise
Champ on-the-rise
I don't think so. Could some one reply please

gelek
Champ in-the-making
Champ in-the-making
I'm also using ver 5.1.0 (r122274-b3).

Where I can add my custom "id properties" or "id aspects" to make simple searching in search box ?
Today I must enter value "model1:numer:'777'" to search value "777" 😞

Please help me.

gelek
Champ in-the-making
Champ in-the-making
I found information that is possible when we edit default template Alfresco Full Text Search (FTS).
http://docs.alfresco.com/5.1/concepts/rm-searchsyntax-intro.html
https://wiki.alfresco.com/wiki/Full_Text_Search_Query_Syntax

The default template is:
%(cm:name cm:title cm:description ia:whatEvent ia:descriptionEvent lnk:title lnk:description TEXT)


I found this solution for Alfresco 5.0.
http://www.bluefishgroup.com/2015/adding-metadata-fields-to-simple-search-and-live-search-with-alfre...

When i try do it …. i found PROBLEM.
Version 5.1 don't have "SEARCH" folder in "alfresco-remote-api-5.1.e.jar"

Why ?
Can you help me ?


jakeer
Champ on-the-rise
Champ on-the-rise
The above jar file has the "Search" folder
Path to jar file: tomcat/webapps/alfresco/WEB-INF/lib/alfresco-share-services-5.1.e.jar

To overwrite the default search configuration, copy your custom search.get.config.xml, live-search-docs.get.config.xml into directory: %TOMCAT_HOME%/shared/classes/alfresco/extension/templates/webscripts/org/alfresco/slingshot/search/

I am trying to implement this... I tried the change, put the files in the folder [C:\alfresco-community\tomcat\shared\classes\alfresco\extension\templates\webscripts\org\alfresco\slingshot\search\], restarted alfresco, but still when I search I do not get things that match my custom fields.  Is there a log file to check to see if there are errors? or any way to debug?

bvictor
Champ on-the-rise
Champ on-the-rise

Thanks  - Works fine.

sjtraore
Champ in-the-making
Champ in-the-making

Does someone know where is the "templates" folder in 5.2?

I can't find it in \alfresco-community\tomcat\shared\classes\alfresco\extension

Thanks in advance

Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.