heredar descripcion de carpeta a sub carpetas

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Member II

Re: heredar descripcion de carpeta a sub carpetas

Gracias por los post,

el archivo shared config custom esta erroneo, este es mi shared config custom real

<alfresco-config>

   <!– Document Library config section –>
   <config evaluator="string-compare" condition="DocumentLibrary">

      <!–
         Used by the "Manage Aspects" action

         For custom aspects, remember to also add the relevant i18n string(s)
            cm_myaspect=My Aspect
      –>
      <aspects>
         <!– Aspects that a user can see –>
         <visible>
            <aspect name="cm:generalclassifiable" />
            <aspect name="cm:complianceable" />
            <aspect name="cm:dublincore" />
            <aspect name="cm:effectivity" />
            <aspect name="cm:summarizable" />
            <aspect name="cm:versionable" />
            <aspect name="cm:templatable" />
            <aspect name="cm:emailed" />
            <aspect name="emailserver:aliasable" />
            <aspect name="cm:taggable" />
            <aspect name="app:inlineeditable" />
           
         <aspect name="pch:metadatos" />
         </visible>

         <!– Aspects that a user can add. Same as "visible" if left empty –>
         <addable>
         </addable>

         <!– Aspects that a user can remove. Same as "visible" if left empty –>
         <removeable>
         </removeable>
      </aspects>

   </config>

   <!– cm:content type (existing nodes) –>
   <config  evaluator="node-type" condition="cm:content">
      <forms>
         <!– Default form configuration used on the document details and edit metadata pages –>
         <form>
            <field-visibility>
              
            <show id="pch:documentRut" />
            <show id="pch:documentNombre" />
            <show id="pch:documentNmutuo" />
            <show id="pch:documentFescritura" />
            <show id="pch:documentConvenio" />
            <show id="pch:documentComuna" />

            </field-visibility>
         </form>
      
      
      

         <!– Document Library pop-up Edit Metadata form –>
         <form id="doclib-simple-metadata">
            <field-visibility>
              
            <show id="pch:documentRut" />
            <show id="pch:documentNombre" />
            <show id="pch:documentNmutuo" />
            <show id="pch:documentFescritura" />
            <show id="pch:documentConvenio" />
            <show id="pch:documentComuna" />
            </field-visibility>
            <edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
         </form>

         <!– Document Library Inline Edit form –>
         <form id="doclib-inline-edit">
            <field-visibility>
              
            <show id="pch:documentRut" />
            <show id="pch:documentNombre" />
            <show id="pch:documentNmutuo" />
            <show id="pch:documentFescritura" />
            <show id="pch:documentConvenio" />
            <show id="pch:documentComuna" />
            </field-visibility>
         </form>
      </forms>
   </config>



    <config  evaluator="node-type" condition="cm:folder">
      <forms>
         <!– Default form configuration used on the document details and edit metadata pages –>
         <form>
            <field-visibility>
              
            <show id="pch:documentRut" />
            <show id="pch:documentNombre" />
            <show id="pch:documentNmutuo" />
            <show id="pch:documentFescritura" />
            <show id="pch:documentConvenio" />
            <show id="pch:documentComuna" />

            </field-visibility>
         </form>
      
      
      

         <!– Document Library pop-up Edit Metadata form –>
         <form id="doclib-simple-metadata">
            <field-visibility>
              
            <show id="pch:documentRut" />
            <show id="pch:documentNombre" />
            <show id="pch:documentNmutuo" />
            <show id="pch:documentFescritura" />
            <show id="pch:documentConvenio" />
            <show id="pch:documentComuna" />
            </field-visibility>
            <edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
         </form>

         <!– Document Library Inline Edit form –>
         <form id="doclib-inline-edit">
            <field-visibility>
              
            <show id="pch:documentRut" />
            <show id="pch:documentNombre" />
            <show id="pch:documentNmutuo" />
            <show id="pch:documentFescritura" />
            <show id="pch:documentConvenio" />
            <show id="pch:documentComuna" />
            </field-visibility>
         </form>
      </forms>
   </config>






<config evaluator="string-compare" condition="AdvancedSearch">
   <advanced-search>
      <forms>
         <form id="search2" label="PCH Document" description="Documentos de Creditos Hipotecarios">cm:content</form>
      </forms>
   </advanced-search>
   </config>

   <config evaluator="model-type" condition="cm:content">
   <forms>
      <form id="search2">
         <field-visibility>
                  <show id="pch:documentRut" force="true" />
                  <show id="pch:documentNombre" force="true" />
                  <show id="pch:documentNmutuo" force="true" />
                  <show id="pch:documentFescritura" force="true" />
         </field-visibility>
         <appearance>
            <field id="pch:documentRut">
            <control template="/org/alfresco/components/form/controls/textfield.ftl" />
         </field>
           
         <field id="pch:documentNombre">
            <control template="/org/alfresco/components/form/controls/textfield.ftl" />
         </field>
          
         <field id="pch:documentNmutuo">
            <control template="/org/alfresco/components/form/controls/textfield.ftl" />
         </field>
         </appearance>
      </form>
   </forms>
   </config>



</alfresco-config>

Saludos,