As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
The file alfresco/web-extension/share-config-custom.xml can be used to do both these things.
<!– Configuración de la Document Library –> <config evaluator="string-compare" condition="DocumentLibrary"> <aspects> <!– Visualización de lista de aspectos –> <visible> <aspect name="cmr:documentacionNombre" /> <aspect name="cmr:documentacionId" /> <aspect name="cmr:documentacionExpediente" /> <aspect name="dji:datosGenericos" /> </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>
<types> <type name="cm:content"> <subtype name="cmr:documentacion" label-id="label.cmr_documentacion" /> <subtype name="dji:datosJudiciales" label-id="label.dji_datos" /> </type> <type name="cm:folder"> <subtype name="dji:expJudiciales" label-id="label.dji_expJud" /> </type> </types>
<config evaluator="node-type" condition="content"> <property-sheet> <show-property name="created" show-in-edit-mode="true" show-in-view-mode="true" /> <show-property name="publisher" show-in-edit-mode="true" show-in-view-mode="true" /> <show-property name="contributor" show-in-edit-mode="true" show-in-view-mode="true" /> <show-property name="identifier" show-in-edit-mode="true" show-in-view-mode="true" /> <show-property name="coverage" show-in-edit-mode="true" show-in-view-mode="true" /> </property-sheet> </config>
2012-01-27 14:39:01,948 WARN [alfresco.missingProperties] [http-8080-1] Failed to find property 'publisher' for node: workspace://SpacesStore/aeb81683-e867-4a8d-885d-f6838a53d9b3 2012-01-27 14:39:01,948 WARN [alfresco.missingProperties] [http-8080-1] Failed to find property 'contributor' for node: workspace://SpacesStore/aeb81683-e867-4a8d-885d-f6838a53d9b3 2012-01-27 14:39:01,948 WARN [alfresco.missingProperties] [http-8080-1] Failed to find property 'identifier' for node: workspace://SpacesStore/aeb81683-e867-4a8d-885d-f6838a53d9b3 2012-01-27 14:39:01,948 WARN [alfresco.missingProperties] [http-8080-1] Failed to find property 'coverage' for node: workspace://SpacesStore/aeb81683-e867-4a8d-885d-f6838a53d9b3
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties> <entry key="type">cm:content</entry> <entry key="aspects">cm:versionable,cm:dublincore</entry> <entry key="cm:title">Título del archivo</entry> <entry key="cm:description">Una prueba de archivo</entry> <entry key="cm:created">1901-01-01T12:34:56.789+10:00</entry> <!– cm:dublincore properties –> <entry key="cm:author">El autor</entry> <entry key="cm:publisher">El publicador</entry> <entry key="cm:contributor">El contribuidor</entry> <entry key="cm:identifier">PS-24233</entry> <entry key="cm:coverage">Todos</entry> </properties>
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <!– Registration of new models –> <bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap"> <property name="models"> <list> <value>alfresco/extension/customModel.xml</value> </list> </property> </bean> <!– Registro del fichero con los alias para Share de las propiedades y el aspect name–> <bean id="extension.custom.resourceBundle" class="org.alfresco.i18n.ResourceBundleBootstrapComponent"> <property name="resourceBundles"> <list> <value>alfresco.messages.customModel</value> </list> </property> </bean> </beans>
# Custom knowledge base messages # kb_knowledgebase.property.kb_documentRef.title=KB Reference # kb_knowledgebase.aspect.kb_referencable.title=Knowledge Base Referencable # aspect.kb_referencable=Knowledge Base Referencable custom_custom.aspect.custom_ProcedimentGeneral.title=PR Proc. General aspect.custom_ProcedimentGeneral=PR Proc. General
<?xml version="1.0" encoding="UTF-8"?> <!– Custom Model –> <!– Note: This model is pre-configured to load at startup of the Repository. So, all custom –> <!– types and aspects added here will automatically be registered –> <model name="custom:customModel" xmlns="http://www.alfresco.org/model/dictionary/1.0"> <!– Optional meta-data about the model –> <description>Modelo Informe</description> <author>Andres Aznar</author> <version>1.0</version> <imports> <!– Import Alfresco Dictionary Definitions –> <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/> <!– Import Alfresco Content Domain Model Definitions –> <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/> </imports> <!– Introduction of new namespaces defined by this model –> <!– NOTE: The following namespace custom.model should be changed to reflect your own namespace –> <namespaces> <namespace uri="custom.model" prefix="custom"/> </namespaces>
<aspect name="custom:ProcedimentGeneral"> <title>PR Procediment General</title> <properties> <property name="custom:ProcesName"> <title>Nombre del procedimiento</title> <type>d:text</type> </property> <property name="custom:ProcesAuthor"> <title>Autor del procedimiento</title> <type>d:text</type> </property> <property name="custom:ProcesAuthorDptm"> <title>Departamento</title> <type>d:text</type> <constraints> <constraint ref="custom:departamentos"/> </constraints> </property> <property name="custom:ProcesAuthorEmail"> <title>Correo de contacto</title> <type>d:text</type> </property> <property name="custom:AuthorID"> <title>Matricula</title> <type>d:int</type> </property> <property name="custom:QualityAssurementReviewer"> <title>Revisor de calidad</title> <type>d:text</type> <protected>true</protected> </property> <property name="custom:QualityReviewdate"> <title>Fecha revision calidad</title> <type>d:date</type> <protected>true</protected> </property> <property name="custom:PreventReviewer"> <title>Revisor de prevencion</title> <type>d:text</type> <protected>true</protected> </property> <property name="custom:PreventReviewerdate"> <title>Fecha revision prevencion</title> <type>d:date</type> <protected>true</protected> </property> <property name="custom:GralMgrApproval"> <title>Aprobacion direccion general</title> <type>d:text</type> <protected>true</protected> </property> <property name="custom:GralMgrApprovaldate"> <title>Fecha aprobacion direccion general</title> <type>d:date</type> <protected>true</protected> </property> </properties> </aspect>