cancel
Showing results for 
Search instead for 
Did you mean: 

Search on property of custom type

phong_van
Confirmed Champ
Confirmed Champ

Dear everyone,

I've defined custom type (custom model) with some property

mc:refNumber: d:text

-mc:customerName: d:text

-mcSmiley TongueroductCode : d:text

When end-user create new document on custom type, he or she want to search on some property at custom type, I've try advance search with filter, but filter only allow property with type as number (not d:text).

Anyone can me some advices?

Many thanks!

1 ACCEPTED ANSWER

douglascrp
World-Class Innovator
World-Class Innovator

Are you using the share simple search, the text field in the upper right corner?

If that is the case, then you wont get the result, as it does a search agains properties name, subject, description and the document's content.

You can find some information on how to change that behaviour in this blog post https://www.bluefishgroup.com/insights/ecm/adding-metadata-fields-to-simple-search-and-live-search-w... 

View answer in original post

15 REPLIES 15

cesarista
World-Class Innovator
World-Class Innovator

And tags

--C.

Once other question need your help:

in share-config-custom.xml file, if i want search on multi custom type as example:

<types>
<type name="cm:content">
<subtype name="mc:loanDocs" />
<subtype name="mcSmiley SurprisedfficeDocs" />
</type>

<type name="cm:folder">
</type>

<type name="trx:transferTarget">
<subtype name="trx:fileTransferTarget" />
</type>
</types>

But when I've tried It seem only the first custom type is effected.

douglascrp
World-Class Innovator
World-Class Innovator

Start a new discussion for this, as the topic has changed.

douglascrp
World-Class Innovator
World-Class Innovator

Sorry, but, what?

cesarista
World-Class Innovator
World-Class Innovator

Just that the simple search also searches by TAG.

Regards.

--C.