12-04-2013 03:28 PM
<aspects>
<!– Aspects that a user can see –>
<visible>
<!–
<aspect name="cm:generalclassifiable" />
<aspect name="cm:complianceable" />
<aspect name="cm:dublincore" />
<aspect name="cm:effectivity" />
<aspect name="cm:summarizable" />
<aspect name="cm:versionable" />
<aspect name="cm:templatable" />
<aspect name="cm:emailed" />
–>
<aspect name="emailserver:aliasable" />
<aspect name="cm:taggable" />
<aspect name="app:inlineeditable" />
<aspect name="gd:googleEditable" />
<aspect name="cm:geographic" />
<aspect name="exif:exif" />
</visible>
Using CATALINA_BASE: /java/tomcat
Using CATALINA_HOME: /java/tomcat
Using CATALINA_TMPDIR: /java/tomcat/temp
Using JRE_HOME: /java/jdk1.7.0_11/jre
Using CLASSPATH: /java/tomcat/shared/classes/:/java/tomcat/bin/bootstrap.jar:/java/tomcat/bin/tomcat-juli.jar
12-05-2013 06:52 PM
12-06-2013 04:05 AM
2013-12-06 09:47:58,017 ERROR [extensions.config.BaseConfigService] [localhost-startStop-1] Input stream invalid - skipped for source: classpath:alfresco/web-extension/share-config-custom.xml'
org.springframework.extensions.config.ConfigException: 11060000 Failed to parse config stream
at org.springframework.extensions.config.xml.XMLConfigService.parse(XMLConfigService.java:224)
at org.springframework.extensions.config.BaseConfigService.appendConfig(BaseConfigService.java:268)
at org.springframework.extensions.config.BaseConfigService.parse(BaseConfigService.java:298)
at org.springframework.extensions.config.xml.XMLConfigService.initConfig(XMLConfigService.java:132)
at org.springframework.extensions.config.BaseConfigService.init(BaseConfigService.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
…
Caused by: org.dom4j.DocumentException: Error on line 64 of document : La balise de fin pour le type d'élément "removeable" doit se terminer par un délimiteur '>'. Nested exception: La balise de fin pour le type d'élément "removeable" doit se terminer par un délimiteur '>'.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at org.springframework.extensions.config.xml.XMLConfigService.parse(XMLConfigService.java:212)
… 37 more
A problem has occurred.
This page could not be rendered:
document-details
Please notify your system administrator.
12-06-2013 07:05 AM
doc.addAspect("custom:DocumentComptable");
doc.save();
12-06-2013 09:10 AM
<?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/DocumentComptable-model.xml</value>
</list>
</property>
</bean>
</beans>
<?xml version="1.0" encoding="UTF-8"?>
<model name="custom:DocumentComptableModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Modele comptable</description>
<author>Ronan</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>
<namespaces>
<namespace uri="http://documentum.sudagri-jatropha.com/model/content/1.0" prefix="custom"/>
</namespaces>
<constraints>
<constraint name="custom:listTypesPieceComptable" type="LIST">
<parameter name="allowedValues">
<list>
<value>Facture achat</value>
<value>Facture vente</value>
<value>Cheque</value>
<value>Masse salariale</value>
</list>
</parameter>
</constraint>
</constraints>
<aspects>
<aspect name="custom:DocumentComptable">
<title>Document Comptable</title>
<properties>
<property name="custom:CodePieceComptable">
<title>Numero piece comptable</title>
<type>d:text</type>
<protected>false</protected>
<mandatory>true</mandatory>
<multiple>false</multiple>
</property>
<property name="custom:TypePieceComptable">
<title>Type de piece comptable</title>
<type>d:text</type>
<protected>false</protected>
<mandatory>true</mandatory>
<multiple>false</multiple>
<constraints>
<constraint ref="custom:listTypesPieceComptable" />
</constraints>
</property>
<property name="custom:Echeance">
<title>Echance piece</title>
<type>d:text</type>
<protected>false</protected>
<mandatory>false</mandatory>
<multiple>false</multiple>
</property>
<property name="custom:Montant">
<title>Montant total piece</title>
<type>d:text</type>
<protected>false</protected>
<mandatory>false</mandatory>
<multiple>false</multiple>
</property>
</properties>
</aspect>
</aspects>
</model>
<config evaluator="string-compare" condition="DocumentLibrary">
<!–
Used by the "Manage Aspects" action
For custom aspects, remember to also add the relevant i18n string(s)
cm_myaspect=My Aspect
–>
<aspects>
<!– Aspects that a user can see –>
<visible>
<aspect name="fgpt:onHold"/>
<aspect name="fgpt:cancelled"/>
<aspect name="fgpt:printaspect"/>
<aspect name="fgic:assigned"/>
<aspect name="custom:DocumentComptable" />
</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>
</config>
12-06-2013 12:17 PM
12-06-2013 01:11 PM
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.