adicionar propiedades a los documentos

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

adicionar propiedades a los documentos

Saludos Cordiales

Ultimamente he necesitado cambiar algunas propiedades de alfresco, hasta ahora he cambiado el metadata de un espacio incorporando tres campos personalizados, sin embargo necesito incorporar tres propiedades a los documentos que inserto en ese espacio, por favor si me pueden ayudar como hacerlo.

Los campos que siempre parecen al añadir un contenido son :
Tipo: 
Codificación: 
Tipo de contenido.

Y necesito incorporar tres mas: proyecto, ID, mail

gracias
3 Replies
pjcaracuel_2349
Active Member II

Re: adicionar propiedades a los documentos

Buenas,

Lo tienes bastante bien explicadito en:
http://codigoutil.wordpress.com/alfresco/tipo-de-contenido-personalizado/

Saludos
marcelo
Member II

Re: adicionar propiedades a los documentos

Gracias por el link, lo probe, ahora me sale este error
que no o entiendo, por favor si me puede ayudar, aunque no parece ser un error producido por el cambio que hice

gracias.

08:32:40,812 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/repository.properties]
08:32:40,833 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from class path resource [alfresco/domain/transaction.properties]
08:32:40,834 INFO  [org.alfresco.config.JndiPropertiesFactoryBean] Loading properties file from URL [file:/opt/Alfresco/tomcat/shared/classes/alfresco-global.properties]
08:32:41,756 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
08:37:00,085 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] Esquema gestionado por el gestor de base de datos org.hibernate.dialect.MySQLInnoDBDialect.
08:37:32,806 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No se hicieron cambios en el esquema.
08:38:15,555 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'thirdparty' subsystem, ID: [default]
08:38:15,774 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
08:38:21,527 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformerWorker] ImageMagickContentTransformerWorker not available: 03190000 Failed to perform ImageMagick transformation:
Execution result:
   os:         Linux
   command:    [/usr/local/bin/convert, /opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_source_6902124290214199857.gif[0], /opt/Alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformerWorker_init_target_1879085825418301997.png]
   succeeded:  false
   exit code:  1
   out:       
   err:        Cannot run program "/usr/local/bin/convert": java.io.IOException: error=2, No such file or directory
08:38:38,274 WARN  [org.alfresco.util.OpenOfficeConnectionTester] No se pudo establecer la conexión a OpenOffice
08:38:38,277 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'thirdparty' subsystem, ID: [default] complete
08:38:41,352 INFO  [org.alfresco.repo.admin.ConfigurationChecker] El directorio raíz de Alfresco ('dir.root') es: /opt/Alfresco/alf_data
08:38:41,867 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Comprobando si hay parches para aplicar …
08:38:46,749 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] No se requieren parches.
08:38:46,856 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Encontrado(s) 0 módulo(s).
08:38:46,953 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'fileServers' subsystem, ID: [default]
08:38:47,387 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
08:39:12,192 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [managed, alfrescoNtlm1]
08:39:12,397 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
08:39:17,415 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [managed, alfrescoNtlm1] complete
08:39:25,994 ERROR [org.alfresco.fileserver] Failed to get local domain/workgroup name, using default of WORKGROUP
08:39:25,994 ERROR [org.alfresco.fileserver] (This may be due to firewall settings or incorrect <broadcast> setting)
08:39:26,398 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'fileServers' subsystem, ID: [default] complete
08:39:26,399 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'imap' subsystem, ID: [default]
08:39:26,458 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
08:39:27,044 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'imap' subsystem, ID: [default] complete
08:39:27,511 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Synchronization' subsystem, ID: [default]
08:39:27,749 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
08:39:27,796 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [default] complete
08:39:27,962 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_16-b01; maximum heap size 1012,625MB
08:39:27,964 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community): Current version 3.2.0 (2039) schema 2019 - Installed version 3.2.0 (2039) schema 2019
08:42:00,074 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'wcm_deployment_receiver' subsystem, ID: [default]
08:42:00,398 INFO  [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]
08:42:00,900 INFO  [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'wcm_deployment_receiver' subsystem, ID: [default] complete
08:42:53,794 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
08:47:23,362 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework
08:47:28,680 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Refreshing org.alfresco.config.JBossEnabledWebApplicationContext@16f8821: display name [Root WebApplicationContext]; startup date [Mon Apr 19 08:47:28 ECT 2010]; root of context hierarchy
08:47:29,902 INFO  [org.alfresco.config.JBossEnabledWebApplicationContext] Bean factory for application context [org.alfresco.config.JBossEnabledWebApplicationContext@16f8821]: org.springframework.beans.factory.support.DefaultListableBeanFactory@1d23619
08:47:43,084 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 24 Web Scripts (+0 failed), 26 URLs
08:47:43,208 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised Presentation Web Script Container (in 1187.6824ms)
08:47:43,796 INFO  [org.alfresco.web.scripts.DeclarativeRegistry] Registered 42 Web Scripts (+0 failed), 44 URLs
08:47:43,907 INFO  [org.alfresco.web.scripts.AbstractRuntimeContainer] Initialised WebFramework Web Script Container (in 686.1933ms)
08:47:44,133 INFO  [org.alfresco.web.site.FrameworkHelper] Successfully Initialized Web Framework

POr f
marcelo
Member II

Re: adicionar propiedades a los documentos

Ya funciono con la explicación gracias