Advertisement
Guest User

share-config-custom.xml

a guest
May 22nd, 2013
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 6.85 KB | None | 0 0
  1. <alfresco-config>
  2.  
  3.    <!-- Document Library config section -->
  4.    <config evaluator="string-compare" condition="DocumentLibrary">
  5.  
  6.       <tree>
  7.          <!--
  8.            Whether the folder Tree component should enumerate child folders or not.
  9.            This is a relatively expensive operation, so should be set to "false" for Repositories with broad folder structures.
  10.         -->
  11.          <evaluate-child-folders>true</evaluate-child-folders>
  12.          
  13.          <!--
  14.            Optionally limit the number of folders shown in treeview throughout Share.
  15.         -->
  16.          <maximum-folder-count>-1</maximum-folder-count>
  17.       </tree>
  18.  
  19.       <!--
  20.         Used by the "Manage Aspects" action
  21.  
  22.         For custom aspects, remember to also add the relevant i18n string(s)
  23.            cm_myaspect=My Aspect
  24.      -->
  25.       <aspects>
  26.          <!-- Aspects that a user can see -->
  27.          <visible>
  28.             <aspect name="cm:generalclassifiable" />
  29.             <aspect name="cm:complianceable" />
  30.             <aspect name="cm:dublincore" />
  31.             <aspect name="cm:effectivity" />
  32.             <aspect name="cm:summarizable" />
  33.             <aspect name="cm:versionable" />
  34.             <aspect name="cm:templatable" />
  35.             <aspect name="cm:emailed" />
  36.             <aspect name="emailserver:aliasable" />
  37.             <aspect name="cm:taggable" />
  38.             <aspect name="app:inlineeditable" />
  39.             <aspect name="cm:geographic" />
  40.             <aspect name="exif:exif" />
  41.          </visible>
  42.  
  43.          <!-- Aspects that a user can add. Same as "visible" if left empty -->
  44.          <addable>
  45.          </addable>
  46.  
  47.          <!-- Aspects that a user can remove. Same as "visible" if left empty -->
  48.          <removeable>
  49.          </removeable>
  50.       </aspects>
  51.  
  52.       <!--
  53.         Used by the "Change Type" action
  54.  
  55.         Define valid subtypes using the following example:
  56.            <type name="cm:content">
  57.               <subtype name="cm:mysubtype" />
  58.            </type>
  59.  
  60.         Remember to also add the relevant i18n string(s):
  61.            cm_mysubtype=My SubType
  62.      -->
  63.       <types>
  64.          <type name="cm:content">
  65.             <subtype name="ged:meliesDocument"/>
  66.          </type>
  67.  
  68.          <type name="cm:folder">
  69.          </type>         
  70.       </types>
  71.  
  72.       <!--
  73.         File upload configuration
  74.      -->
  75.       <file-upload>
  76.          <!--
  77.            Adobe Flash™
  78.            In certain environments, an HTTP request originating from Flash cannot be authenticated using an existing session.
  79.            See: http://bugs.adobe.com/jira/browse/FP-4830
  80.            For these cases, it is useful to disable the Flash-based uploader for Share Document Libraries.
  81.         -->
  82.          <adobe-flash-enabled>true</adobe-flash-enabled>
  83.       </file-upload>
  84.    </config>
  85.  
  86.    <!-- ADAMI -->
  87.    <config evaluator="string-compare" condition="AdvancedSearch">
  88.       <advanced-search>
  89.          <!-- Forms for the advanced search type list -->
  90.          <forms>
  91.             <form label="Melies Document" description="Contenu de type Melies Document">ged:meliesDocument</form>
  92.             <!-- version avec i18n : <form labelId="search.form.label.ged_meliesdocument" descriptionId="search.form.desc.ged_meliesdocument">doc:testContractType</form> -->
  93.          </forms>
  94.       </advanced-search>
  95.    </config>
  96.  
  97.    <config evaluator="model-type" condition="ged:meliesDocument">
  98.       <forms>
  99.          <!-- Search form -->
  100.          <form id="search">
  101.             <field-visibility>
  102.                 <!--  Meta generiques : -->
  103.                <show id="cm:name" />
  104.                <show id="cm:title" force="true" />
  105.                <show id="cm:description" force="true" />
  106.                <show id="cm:content" force="true" />
  107.                <show id="mimetype" />
  108.                
  109.                      <!--  Toutes les meta-donnees specifiques existantes utilisees :     -->              
  110.                <show id="ged:statut" />
  111.                <show id="ged:domaine" />
  112.                <show id="ged:oeuvres" />
  113.                <show id="ged:series" />
  114.                <show id="ged:traite" />
  115.                <show id="ged:tousInterpretes" />
  116.                <show id="ged:interpretes" />
  117.                <show id="ged:groupes" />
  118.                <show id="ged:nature" />
  119.                <show id="ged:reclamation" />
  120.                <show id="ged:dateReception"  />              
  121.                <show id="ged:utilLogin" />
  122.                <show id="ged:commentaire" />
  123.                <show id="ged:titreOriginal" />
  124.                <show id="ged:societeDoublageId" />
  125.                <show id="ged:type" />
  126.  
  127.             </field-visibility>
  128.             <appearance>
  129.                 <!--  Meta generiques : -->
  130.                <field id="cm:title">
  131.                   <control template="/org/alfresco/components/form/controls/textfield.ftl" />
  132.                </field>
  133.                <field id="cm:content">
  134.                   <control>
  135.                      <control-param name="editorAppearance">explorer</control-param>
  136.                   </control>
  137.                </field>
  138.                <field id="mimetype">
  139.                   <control template="/org/alfresco/components/form/controls/hidden.ftl">
  140.                      <control-param name="contextProperty">mimeType</control-param>
  141.                   </control>
  142.                </field>
  143.  
  144.                 <!--  Meta specifiques : -->
  145.                <field id="ged:statut">
  146.                   <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
  147.                </field>
  148.                <field id="ged:domaine">
  149.                   <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
  150.                </field>
  151.                <field id="ged:traite">
  152.                   <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
  153.                </field>
  154.                <field id="ged:tousInterpretes">
  155.                   <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
  156.                </field>
  157.                <!-- numberrange = deux champs : min et max. Inutile ici.
  158.               <field id="ged:interpretes">
  159.                  <control template="/org/alfresco/components/form/controls/numberrange.ftl" />
  160.               </field>
  161.               -->
  162.                <field id="ged:nature">
  163.                   <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
  164.                </field>
  165.                <field id="ged:dateReception">
  166.                   <control template="/org/alfresco/components/form/controls/daterange.ftl" />
  167.                </field>
  168.                <field id="ged:type">
  169.                   <control template="/org/alfresco/components/form/controls/selectmany.ftl" />
  170.                </field>              
  171.             </appearance>
  172.          </form>
  173.       </forms>
  174.    </config>
  175.  
  176. </alfresco-config>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement