Page 1 of 1

Can you search for specific content of Metadata on docs?

PostPosted:Wed Feb 12, 2014 10:05 am
by hbuus
I have added a Property Group like this:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE property-groups PUBLIC "-//OpenKM//DTD Property Groups 2.0//EN"
                                 "http://www.openkm.com/dtd/property-groups-2.0.dtd">
<property-groups>
 <property-group label="Info" name="okg:info">
    <select label="Type" name="okp:info.type" type="multiple">
      <option label="Artikel" value="t1"/>
      <option label="Rapport" value="t2" />
      <option label="Word" value="t3" />
      <option label="Grafik" value="t4" />
      <option label="Regneark" value="t5" />
      <option label="Andet" value="t6" />
    </select>
    <input label="Link" name="okp:info.url" type="link"/>
    <textarea label="Kommentar" name="okp:info.comment"/>
  </property-group>
</property-groups
Now I am wondering if I can execute a search for what is written in the Kommentar (means Comment in English) textarea of a document?

Say for example that on a certain document, I have added the following text in the Kommentar-field:
"This report shows that inequality is a big problem in the OECD."

Now I want to find all documents where in the Kommentar-textarea I have written "inequality".
Is this possible?
It would be great if it is!

Thanks.

Best,
Henrik

Re: Can you search for specific content of Metadata on docs?

PostPosted:Fri Feb 14, 2014 7:23 am
by jllort
As you can see here http://wiki.openkm.com/index.php/Search there's a metadata tab. Add field and the word you're looking for.

Re: Can you search for specific content of Metadata on docs?

PostPosted:Mon Feb 17, 2014 10:11 am
by hbuus
Ah! I found out how it works now. Thanks :)