cancel
Showing results for 
Search instead for 
Did you mean: 

How to search by custom properties

miroslav
Star Contributor
Star Contributor

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 ACCEPTED ANSWER

kaynezhang
World-Class Innovator
World-Class Innovator
1 REPLY 1

kaynezhang
World-Class Innovator
World-Class Innovator

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-...