cancel
Showing results for 
Search instead for 
Did you mean: 

ComboList aspects not searching results in advance search

shibasis
Champ in-the-making
Champ in-the-making
HI,

I have created a content model  where i need to have a combo list in share form.
i am getting the combo list, but while i search the same in advance seach , i am getting 0 results.
My content model:

<?xml version="1.0" encoding="UTF-8"?>
<model xmlns="http://www.alfresco.org/model/dictionary/1.0" name="sd:SharpDocsModel">
<description>SharpDocs Model</description>
<author>UTL</author>
<version>1</version>
<imports>
<import prefix="d" uri="http://www.alfresco.org/model/dictionary/1.0'/>
<import prefix="cm" uri="http://www.alfresco.org/model/content/1.0'/>
  <!– Import Alfresco Data List Model Definitions –>
      <import uri="http://www.alfresco.org/model/datalist/1.0" prefix="dl"/>
    
</imports>
<namespaces>
<namespace prefix="sd" uri="http://SharpDocs/model/content/1.0'/>
</namespaces>


<constraints>
     <constraint name="sd:SDocs1" type="LIST">
       <parameter name="allowedValues">
          <list>
         <value></value>
             <value>Addendum</value>
             <value>Fees</value>
             <value>SLA</value>
             <value>Schedule</value>
             <value>Other</value>
          </list>
       </parameter>
     </constraint>
    <constraint name="sd:departmentName" type="LIST">
       <parameter name="allowedValues">
          <list>
             <value>Accounting</value>
             <value>Audit</value>
             <value>Credit Administration</value>
             <value>Credit Management</value>
             <value>Deposits</value>
          <value>Facilities</value>
          <value>Human Resources</value>
             <value>Investment Solutions</value>
             <value>IT</value>
             <value>Marketing</value>
             <value>Operations</value>
          <value>Property Leases</value>
          <value>Sales &amp; Service</value>
          </list>
       </parameter>
     </constraint>
   </constraints>

  

<aspects>




<aspect name="sd:SharpDocs1">
<title>invoice</title>
<parent>cm:titled</parent>
<properties>
<property name="sd:SDocs1">
<title>invoice_no</title>
<type>d:text</type>
<constraints>
<constraint ref="sd:SDocs1" />
</constraints>

</property>


</properties>
</aspect>
<aspect name="sd:SharpDocs2">
<title>Invoice_date</title>
<parent>cm:titled</parent>
<properties>
<property name="sd:SDocs2">
<title>Invoice_date</title>
<type>d:date</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
</property>
</properties>
</aspect>
<aspect name="sd:SharpDocs3">
<title>Customer_name</title>
<parent>cm:titled</parent>
<properties>
<property name="sd:SDocs3">
<title>Customer_name</title>
<type>d:text</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
</property>
</properties>
</aspect>
<aspect name="sd:SharpDocs4">
<title>accountno</title>
<parent>cm:titled</parent>
<properties>
<property name="sd:SDocs4">
<title>accountno</title>
<type>d:int</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
</property>
</properties>
</aspect>
<aspect name="sd:SharpDocs5">
<title>branch</title>
<parent>cm:titled</parent>
<properties>
<property name="sd:SDocs5">
<title>branch</title>
<type>d:text</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
</property>
</properties>
</aspect>
<aspect name="sd:SharpDocs6">
<title>DOB</title>
<parent>cm:titled</parent>
<properties>
<property name="sd:SDocs6">
<title>DOB</title>
<type>d:date</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
</property>
</properties>
</aspect>
<aspect name="sd:SharpDocs7">
<title>Openingdate</title>
<parent>cm:titled</parent>
<properties>
<property name="sd:SDocs7">
<title>Openingdate</title>
<type>d:date</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
</property>
</properties>
</aspect>
<aspect name="sd:SharpDocs8">
<title>bank</title>
<parent>cm:titled</parent>
<properties>
<property name="sd:SDocs8">
<title>bank</title>
<type>d:text</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
</property>
</properties>
</aspect>
<aspect name="sd:SharpDocs9">
<title>add</title>
<parent>cm:titled</parent>
<properties>
<property name="sd:SDocs9">
<title>add</title>
<type>d:text</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
</property>
</properties>
</aspect>
<aspect name="sd:SharpDocs10">
<title>mno</title>
<parent>cm:titled</parent>
<properties>
<property name="sd:SDocs10">
<title>mno</title>
<type>d:int</type>
<mandatory>false</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
</property>
</properties>
</aspect>
</aspects>
</model>



My Share config, I have added in search form as well.
the corresponding  combo is also coming in advance seach, but results always 0.

Can anybody help me on this????????????????


Regards
Shibasis
1 REPLY 1

abarisone
Star Contributor
Star Contributor
Hi,
in my experience I had the same issue.
When using Share's Advanced Search I was only able to find nodes only by content search or the exact property value.
With Alfresco Explorer, instead, I was able to find everything.
Surely I don't know if it is a Share limitation or some kind of bug.

Regards,
Andrea