11-09-2010 06:46 AM
<type name ="am:expjuridico">
            <title>Expedientes</title>
            <parent>cm:folder</parent>
            
            <properties>
            
            </properties>
         
         </type><aspects>
      <aspect name="am:datosGenericosExp">
         <title>Datos Genéricos</title>
         <properties>
         
            <property name="am:asunto">
               <title>Asunto</title>
               <type>d:text</type>
               <mandatory>true</mandatory>
            </property>
….
 <config evaluator="node-type" condition="am:expjuridico">
      <forms>
         <!– Default form configuration used on the document details and edit metadata pages –>
         <form>
            <field-visibility>
         
            <!– Datos modelo ARDOC - Expedientes Jurídicos –>
            <show id="am:asunto" />
….
 <config evaluator="node-type" condition="cm:folder">
      <forms>
         <form id="rm">
            <field-visibility>
             <hide id="cm:name"/>
            <hide id="cm:title"/>
            <hide id="cm:description" />
…..

11-09-2010 06:59 AM
11-09-2010 07:15 AM
 
					
				
		
11-09-2010 02:34 PM
<config evaluator="node-type" condition="cm:folder">
   <forms>
      <form>
         <field-visibility>
            <hide id="cm:name"/>
            <hide id="cm:title"/>
            <hide id="cm:description" />
            …
</config>
<config evaluator="node-type" condition="am:expjuridico">
   <forms>
      <form>
         <field-visibility>
            <show id="am:asunto"/>
            …
</config>
11-10-2010 04:22 AM
 <config evaluator="node-type" condition="am:expediente">
      <forms>
         <!– Default form configuration used on the document details and edit metadata pages –>
         <form>
            <field-visibility>
            <show id="am:asunto" />
            <show id="am:descripcion" />
            …..
            </field-visibility>
            <appearance>
            <field id="am:asunto" label-id="label.am_asunto" />
            <field id="am:descripcion" label-id="label.am_descripcion" />
           …..
         </appearance>
         </form>
         <!– Document Library pop-up Edit Metadata form –>
         <form id="doclib-simple-metadata">
            <field-visibility>
            <show id="am:asunto" />
            <show id="am:descripcion" />
           …   
            </field-visibility>
         
         <edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
            
         <appearance>
            <field id="am:asunto" label-id="label.am_asunto" />
            <field id="am:descripcion" label-id="label.am_descripcion" />
            …
            </appearance>
         </form>
         <!– Document Library Inline Edit form –>
         <form id="doclib-inline-edit">
            <field-visibility>
            <show id="am:asunto" />
            <show id="am:descripcion" />
           …
            </field-visibility>
            <appearance>
            <field id="am:asunto" label-id="label.am_asunto" />
            <field id="am:descripcion" label-id="label.am_descripcion" />
            …
            </appearance>
         </form>
      </forms>
   </config> <config evaluator="node-type" condition="cm:folder">
      <forms>
         <form>
            <field-visibility>
               <show id="cm:mimetype" for-mode="view" />
            </field-visibility>
            <appearance>
            <field id="cm:mimetype" label-id="label.cm_mimetype" />
            </appearance>
          </form>
      </forms>
   </config> 
  ops:
ops:
					
				
			
			
				
			
			
			
			
			
			
			
		11-10-2010 08:34 AM
Uhm… Another question (this is easy, I promise it😞
When I apply my custom aspect, I see this tag: aspect.am_expediente. In my custom-slingshot-application-context.xml, I added this line: <ref bean="alfresco.web-extension.messages.MyModel" /> . I created inside of web-client/, another folder with name messages. Inside of this folder, I created a new file with name MyModel.properties with this lines:
label.am_asunto=Asunto
label.am_descripcion=Descripción
…
I tried to put label.am_expjuridico=Expedientes Jurídicos, and share show me this label wrong. I tried to put as aspect.am_expjuridico=Expedientes Jurídicos and nothing, too.
How I must to do it for Share shows me the translations?
 
					
				
		
11-11-2010 04:47 AM
11-11-2010 05:16 AM
Building the FDK
If you are building Alfresco from source using a development environment you may wish to also build and deploy the FDK.
The main Ant build.xml file provides several targets to allow for this.
incremental-fdk
    Builds the repository and client FDK files 
install-fdk-amp
    Builds the FDK AMP and installs it in the repository WAR file, the "deploy-webclient-tomcat" needs to be called subsequently to deploy the WAR file to Tomcat 
deploy-repo-fdk-exploded
    Deploys the FDK repository files to Tomcat in exploded mode 
deploy-share-fdk
    Builds the FDK client JAR and deploys it to Share 
deploy-share-fdk-exploded
    Deploys the FDK client files to Share in exploded mode  
					
				
		
11-12-2010 05:48 AM
11-15-2010 07:17 AM
 
					
				
				
			
		
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.