AnsweredAssumed Answered

Property of aspect not shown in form

Question asked by fstnboy on Sep 4, 2008
Latest reply on Sep 6, 2008 by rivetlogic
Hi to all,

I have to make a sumary of the number of contents in a space with a property (company name) with different values. Example:

COMPANY    Nº files    %

comp1           3          10
comp2           27         90

TOTAL          30         100

To make the search easier i´ve decided that every property representing the company name will have the same name (ajd:company):

This is how I decided to do it (model.xml)


            <type name="ajd:espacioagpd">
         <title>…</title>
         <parent>ajd:admtvos</parent>
         <properties>
                         <property name="ajd:observs_14">                                           <type>d:text</type>
                    <index enabled="true">
                  <tokenised>true</tokenised>
               </index>
                  </property>
               </properties>
               <mandatory-aspects>
           <aspect>ajd:contenedorajd</aspect>
           <aspect>ajd:EsEmpresa</aspect>
         </mandatory-aspects>
            </type>
               
      <type name="ajd:reclagpd">
         <title>Reclamaciones ante la AGPD</title>
         <parent>ajd:espacioagpd</parent>
         <mandatory-aspects>
           <aspect>ajd:expediente</aspect>
           <aspect>cm:versionable</aspect>
           <aspect>ajd:buscable</aspect>
         </mandatory-aspects>
           </type>  

<aspect name="ajd:EsEmpresa">
         <title>…</title>
         <properties>
            <property name="ajd:company">
               <type>d:text</type>
               <mandatory enforced="true">true</mandatory>
               <multiple>false</multiple>
               <default>GENESIS</default>
                    <index enabled="true">
                  <tokenised>true</tokenised>
               </index>
                    <constraints>
                       <constraint ref="ajd:companys"/>
               </constraints>
                  </property>
         </properties>
      </aspect>

Then how should I write the web-client-config-custom.xml in order to show this property when the content is created or the details are shown?

Thanks in advance

Outcomes