Hi, everyone
I try to search on live search textbox (Up right) and i'm not see result with searching.
I already attached properties configure.
-<imports>
<import prefix="cm" uri="http://www.alfresco.org/model/content/1.0"/>
<import prefix="d" uri="http://www.alfresco.org/model/dictionary/1.0"/>
</imports>
-<namespaces>
<namespace prefix="test" uri="test"/>
</namespaces>
<data-types/>
<constraints/>
-<types>
-<type name="doc1:ID_index">
<title>ID Index</title>
<parent>cm:content</parent>
-<properties>
-<property name="doc1:ID">
<title>ID</title>
<type>d:text</type>
<mandatory>true</mandatory>
-<index enabled="true">
<tokenised>BOTH</tokenised>
<facetable>false</facetable>
</index>
</property>
</properties>
Thanks
For Live Search, There are some properties are configured. Ex name
If you want to search by custom property then you need to add those properties.
@sanjaybandhniya wrote:For Live Search, There are some properties are configured. Ex name
If you want to search by custom property then you need to add those properties.
Hi, sanjaybandhniya
can you suggest me ? . in my share-config-custom.xml
I already got form UI custom properties but when i search by number or ID or Department properties return result 0
<config replace="true" evaluator="string-compare" condition="AdvancedSearch">
<advanced-search>
<!-- Forms for the advanced search type list -->
<forms>
<form labelId="search.form.label.cm_content" descriptionId="search.form.desc.cm_content">cm:content</form>
<form labelId="search.form.label.cm_folder" descriptionId="search.form.desc.cm_folder">cm:folder</form>
<form labelId="custom" descriptionId="search.form.desc.ID_index_test">test:ID_index_test</form>
</forms>
</advanced-search>
</config>
<config evaluator="model-type" condition="test:ID_index_test">
<forms>
<form id="search">
<field-visibility>
<show id="test:ID" />
<show id="test:num" />
<show id="test:dep" />
</field-visibility>
<appearance>
<field id="test:ID">
<control template="/org/alfresco/components/form/controls/textfield.ftl" />
</field>
<field id="test:num">
<control template="/org/alfresco/components/form/controls/textfield.ftl" />
</field>
<field id="test:dep">
<control template="/org/alfresco/components/form/controls/textfield.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
Any suggestion idea please
Where you need custom property seach?
Live search or Advance search page?
@sanjaybandhniya wrote:Where you need custom property seach?
Live search or Advance search page?
Hi, @sanjaybandhniya , I want to search in advance search. Have any idea?
I already added custom drop down list (custom) and the search form with my custom properties see below
but i got result 0 when i searched some text in my custom properties.
Thanks
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.