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 02:59 AM
12-05-2013 03:33 AM
   <config evaluator="string-compare" condition="DocumentLibrary">
         <aspects>
          <!–
            Aspects that a user can see in UI.
            Used by Rules, aspects are the listed aspects for rule's "has-aspect" action condition.
          –>
          <visible>
            <aspect name="cm:generalclassifiable" />
            <aspect name="cm:complianceable" />
            <aspect name="cm:dublincore" />
            <aspect name="zpe:docLoggable"/>
          </visible>
       </aspects>
   </config>
12-05-2013 03:45 AM
   <!– Document Library config section –>
   <config evaluator="string-compare" condition="DocumentLibrary" replace="true">
      <aspects>
         <!– Aspects that a user can see –>
         <visible>
            <aspect name="custom:DocumentComptable" />
         </visible>
      </aspects>
   </config>
12-05-2013 04:25 AM
12-05-2013 07:16 AM
12-05-2013 08:21 AM
<alfresco-config>
   <!– Repository Library config section –>
   <config evaluator="string-compare" condition="RepositoryLibrary" replace="true">
      <!–
         Whether the link to the Repository Library appears in the header component or not.
      –>
      <visible>true</visible>
   </config>
   <config evaluator="string-compare" condition="Remote">
      <remote>
         <endpoint>
            <id>alfresco-noauth</id>
            <name>Alfresco - unauthenticated access</name>
            <description>Access to Alfresco Repository WebScripts that do not require authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
            <identity>none</identity>
         </endpoint>
         <endpoint>
            <id>alfresco</id>
            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
            <identity>user</identity>
         </endpoint>
         <endpoint>
            <id>alfresco-feed</id>
            <name>Alfresco Feed</name>
            <description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
            <connector-id>http</connector-id>
            <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
            <basic-auth>true</basic-auth>
            <identity>user</identity>
         </endpoint>
         <endpoint>
            <id>activiti-admin</id>
            <name>Activiti Admin UI - user access</name>
            <description>Access to Activiti Admin UI, that requires user authentication</description>
            <connector-id>activiti-admin-connector</connector-id>
            <endpoint-url>http://localhost:8080/alfresco/activiti-admin</endpoint-url>
            <identity>user</identity>
         </endpoint>
      </remote>
   </config>
   <!– Document Library config section –>
   <config evaluator="string-compare" condition="DocumentLibrary" >
      <aspects>
         <!– Aspects that a user can see –>
         <visible>
            <aspect name="custom:DocumentComptable" />
         </visible>
      </aspects>
   </config>
</alfresco-config>
					
				
			
			
				
			
			
			
			
			
			
			
		12-05-2013 09:17 AM
<?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>
<?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>
<alfresco-config>
   <!– Repository Library config section –>
   <config evaluator="string-compare" condition="RepositoryLibrary" replace="true">
      <!–
         Whether the link to the Repository Library appears in the header component or not.
      –>
      <visible>true</visible>
   </config>
   <config evaluator="string-compare" condition="Remote">
      <remote>
         <endpoint>
            <id>alfresco-noauth</id>
            <name>Alfresco - unauthenticated access</name>
            <description>Access to Alfresco Repository WebScripts that do not require authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
            <identity>none</identity>
         </endpoint>
         <endpoint>
            <id>alfresco</id>
            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
            <identity>user</identity>
         </endpoint>
         <endpoint>
            <id>alfresco-feed</id>
            <name>Alfresco Feed</name>
            <description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
            <connector-id>http</connector-id>
            <endpoint-url>http://localhost:8080/alfresco/s</endpoint-url>
            <basic-auth>true</basic-auth>
            <identity>user</identity>
         </endpoint>
         <endpoint>
            <id>activiti-admin</id>
            <name>Activiti Admin UI - user access</name>
            <description>Access to Activiti Admin UI, that requires user authentication</description>
            <connector-id>activiti-admin-connector</connector-id>
            <endpoint-url>http://localhost:8080/alfresco/activiti-admin</endpoint-url>
            <identity>user</identity>
         </endpoint>
      </remote>
   </config>
   <!– Document Library config section –>
   <config evaluator="string-compare" condition="DocumentLibrary" >
      <aspects>
         <!– Aspects that a user can see –>
         <visible>
            <aspect name="custom:DocumentComptable" />
         </visible>
      </aspects>
   </config>
</alfresco-config>
12-05-2013 10:23 AM
   <config evaluator="string-compare" condition="DocumentLibrary" >
 
      <aspects>
         <!– Aspects that a user can see –>
         <visible>
            <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-05-2013 10:35 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.