How i can search with custom properties?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-05-2022 03:12 PM
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
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2022 02:46 AM
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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-07-2022 04:34 AM
@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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2022 02:22 AM
Where you need custom property seach?
Live search or Advance search page?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2022 06:18 AM
@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
