AnsweredAssumed Answered

Configering the aspect property in advance search

Question asked by srik on Feb 3, 2014
Latest reply on Feb 3, 2014 by jpotts
Hi team,

I am stuck up with displaying of the aspect property in advance search .I am using alfresco enterprise 4.

I am to display the field in drop down but when I click on that the text field doesn't appear in the adv searh screen.

so far my code.

share custom config.

<config evaluator="string-compare" condition="AdvancedSearch">
         <!– Forms for the advanced search type list –>
         <form labelId="Record ID" descriptionId="produst">cm:content</form>
   <!– cm:content type (existing nodes) –>
   <config  evaluator="node-type" condition="cm:content">
         <!– Default form configuration used on the document details and edit metadata pages –>
      <form id="doclib-simple-metadata">
               <show id="kb:documentRef" force="true" />

         <!– Document Library pop-up Edit Metadata form –>
               <field id="kb:documentRef" label="Record ID" >
      <control template="/org/alfresco/components/form/controls/space.ftl" />


<?xml version="1.0" encoding="UTF-8"?>

<!– Definition of Knowledge Base Model –>

<model name="kb:knowledgebase" xmlns="">

   <!– Optional meta-data about the model –>
   <description>Knowledge Base Model</description>
   <author>Will Abson</author>

   <!– Imports are required to allow references to definitions in other models –>
      <!– Import Alfresco Dictionary Definitions –>
      <import uri="" prefix="d"/>
      <!– Import Alfresco Content Domain Model Definitions –>
      <import uri="" prefix="cm"/>

   <!– Introduction of new namespaces defined by this model –>
      <namespace uri="" prefix="kb"/>

      <!– Definition of new Content Aspect: Knowledge Base Document –>
      <aspect name="kb:referencable">
         <title>Knowledge Base Referencable</title>
            <property name="kb:documentRef">



<?xml version='1.0' encoding='UTF-8'?>


    <!– Registration of new models –>
    <bean id="extension.kb.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">

     <bean id="extension.kb.resourceBundle" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
       <property name="resourceBundles">


A complete working example to start up is also appreciated.

Srikanth S