<?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>Custom Model</description>
<author></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>
<types>
<type name="custom:Doc">
<title>Nom</title>
<parent>cm:content</parent>
<properties>
<property name="custom:DocDate">
<title>Annee du document</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="custom:Racin">
<title>Racine</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="custom:DocType">
<title>Type du document</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="custom:DocNature">
<title>Nature du document</title>
<type>d:text</type>
</property>
<property name="custom:Groupe">
<title>Groupe</title>
<type>d:text</type>
</property>
</properties>
</type>
</types>
</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/customModel.xml</value>
</list>
</property>
</bean>
</beans>
<alfresco-config>
<config evaluator="string-compare" condition="Languages" replace="true">
<languages>
<language locale="fr_FR">French</language>
</languages>
</config>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="custom:Doc" />
</content-types>
</config>
<config evaluator="node-type" condition="custom:Doc">
<property-sheet>
<show-property name="custom:DocDate" />
<show-property name="custom:Racine" />
<show-property name="custom:DocType" />
<show-property name="custom:DocNature" />
<show-property name="custom:Groupe" />
</property-sheet>
</config>
<!– **************************** ADVANCED SEARCH ********************** –>
<config evaluator="string-compare" condition="Advanced Search">
<advanced-search>
<content-types>
<type name="custom:Doc" />
</content-types>
<custom-properties>
<meta-data type="custom:Doc" property="custom:DocDate" />
<meta-data type="custom:Doc" property="custom:Racin" />
<meta-data type="custom:Doc" property="custom:DocType" />
<meta-data type="custom:Doc" property="custom:DocNature" />
<meta-data type="custom:Doc" property="custom:Groupe" />
</custom-properties>
</advanced-search>
</config>
<!– ******************************************************* –>
<config evaluator="string-compare" condition="Action Wizards">
<subtypes>
<type name="custom:Doc"/>
</subtypes>
</config>
</alfresco-config>
<config evaluator="string-compare" condition="Advanced Search" replace="true">
<advanced-search>
<content-types>
<type name="custom:Doc" />
</content-types>
…
<?xml version="1.0" encoding="UTF-8"?>
<navigation-rule>
<description>
The decision rule used by the NavigationHandler to
determine which view must be displayed after the
current view, login.jsp is processed.
</description>
<from-view-id>/jsp/login.jsp</from-view-id>
<navigation-case>
<description>
Indicates to the NavigationHandler that the browse.jsp
view must be displayed if the Action referenced by a
UICommand component on the login.jsp view returns
the outcome "success".
</description>
<from-outcome>success</from-outcome>
<to-view-id>/jsp/search/advanced-search.jsp</to-view-id>
</navigation-case>
</navigation-rule>
sans succes.Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.