AnsweredAssumed Answered

Alfresco Share search for sys:dbid

Question asked by dave_84 on Jun 25, 2012
Hi everyone,
i migrated from Alfresco 2.9 to 3.4 (with 2.9 –> 3.2 pattern and 3.2 –> 3.4.d). My repository has about 5000 documensts.

In 2.9 version, i had the right configuration to show the property sys:node-dbid in my document details and search for sys:node-dbid through the alfresco advanced search.
In 3.4 version i configured Alfresco and Share to show the property id document details and advanced search, but the problem is:
- In alfresco I successfully search by sys:node-dbid
- In share the same search return no result.

No errors in log file.

My configuration:
a) web-client-config.xml (in config condition="Advanced Search")

<meta-data aspect="sys:referenceable" property="sys:node-dbid"/>

b) share-form-config.xml ( in <config evaluator="node-type" condition="cm:content"> )

<show id="sys:node-dbid"/>

and in search form configuration:

<form id="search">
               <show id="cm:name" />
               <show id="cm:title" force="true" />
               <show id="cm:description" force="true" />
               <show id="mimetype" />
               <show id="cm:modified" />
               <show id="cm:modifier" />
            <show id="sys:node-dbid" force="true"/>
               <field id="mimetype">
                  <control template="/org/alfresco/components/form/controls/mimetype.ftl" />
               <field id="cm:modifier">
                     <control-param name="forceEditable">true</control-param>
               <field id="cm:modified">
                  <control template="/org/alfresco/components/form/controls/daterange.ftl" />
            <field id="sys:node-dbid" read-only="false">
                  <control template="/org/alfresco/components/form/controls/number.ftl">
                     <control-param name="forceEditable">true</control-param>

Please help me!

Thanks in advance