How to search by custom properties

cancel
Showing results for 
Search instead for 
Did you mean: 
miroslav
Customer

How to search by custom properties

Jump to solution

Hello,

I created a custom content model with own properties, then I created files via REST api and filled values. Now I would like to find files using these values, but nothing returned in Share. I can search the properties only via search api.

Don't you know how to search custom properties in Share?


Property definition in my active content model:

...  
   <types>
        <type name="test:test_data">
            <title>Pacient</title>
            <parent>cm:content</parent>
            <properties>
                <property name="test:firstname">
                    <title>Firstname</title>
                    <type>d:text</type>
                    <mandatory>false</mandatory>
                    <index enabled="true">
                        <atomic>true</atomic>
                        <tokenised>false</tokenised>
                        <facetable>true</facetable>
                    </index>
                </property>
...

 

1 Solution

Accepted Solutions
kaynezhang
Advanced

Re: How to search by custom properties

Jump to solution
1 Reply
kaynezhang
Advanced

Re: How to search by custom properties

Jump to solution

about how to customize share simple search and live search ,plase refer to

https://bluefishgroup.com/insights/ecm/adding-metadata-fields-to-simple-search-and-live-search-with-...