I have defined my own form for a model type to play with the FDK I successfully installed (I can access the form console).I use Alfresco Enterprise 3.4RC1?Here is my model:
<model name="perfs:model" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Perfs Model</description>
<author>Olivier Richaud (AHP)</author>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/system/1.0" prefix="sys" />
<!– 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="acm-perfs.model" prefix="perfs" />
</namespaces>
<constraints>
</constraints>
<types>
<type name="perfs:PerfType">
<title>Type PerfType</title>
<parent>cm:content</parent>
<properties>
<property name="perfs:p1">
<title>p1</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
<property name="perfs:p2">
<title>p2</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
<property name="perfs:p3">
<title>p3</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
<property name="perfs:p4">
<title>p4</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
<property name="perfs:p5">
<title>p5</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
<property name="perfs:p6">
<title>p6</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
<property name="perfs:p7">
<title>p7</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
<property name="perfs:p8">
<title>p8</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
<property name="perfs:p9">
<title>p9</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
<property name="perfs:p10">
<title>p10</title>
<type>d:text</type>
<multiple>false</multiple>
</property>
</properties>
<associations>
<child-association name="perfs:children">
<title>Children</title>
<source>
<mandatory>false</mandatory>
<many>false</many>
</source>
<target>
<class>perfs:PerfType</class>
<mandatory>false</mandatory>
</target>
<duplicate>false</duplicate>
<propagateTimestamps>true</propagateTimestamps>
</child-association>
</associations>
</type>
</types>
<aspects>
</aspects>
</model>
In alfresco/web-extension I have crated the sahre-config-custom.xml file and I can say that the file is laoded since I was able to set the client-debug tag to true which pops up the javascript log4j console:
<alfresco-config>
<!– Global config section –>
<config replace="true">
<flags>
<!– Developer debugging setting to turn on DEBUG mode for client scripts in the browser –>
<client-debug>true</client-debug>
<!– LOGGING can always be toggled at runtime when in DEBUG mode (Ctrl, Ctrl, Shift, Shift). This flag automatically activates
logging on page load. –>
<client-debug-autologging>true</client-debug-autologging>
</flags>
</config>
<config evaluator="node-type" condition="perfs:PerfType">
<forms>
<form id="perfs-form">
<edit-form template="/fdk/templates/tab-edit-form.ftl" />
<field-visibility>
<show id="perfs:p1"/>
<show id="perfs:p2"/>
<show id="perfs:p3"/>
<show id="perfs:p4"/>
<show id="perfs:p5"/>
<show id="perfs:p6"/>
<show id="perfs:p7"/>
<show id="perfs:p8"/>
<show id="perfs:p9"/>
<show id="perfs:p10"/>
</field-visibility>
<appearance>
<set id="tab1" label="Tab 1" />
<set id="tab2" label="Tab 2" />
<field id="perfs:p1" set="tab2" label="perfs:p1"/>
<field id="perfs:p2" set="tab1" label="perfs:p2"/>
<field id="perfs:p3" set="tab2" label="perfs:p3"/>
<field id="perfs:p4" set="tab1" label="perfs:p4"/>
<field id="perfs:p5" set="tab2" label="perfs:p5"/>
<field id="perfs:p6" set="tab1" label="perfs:p6"/>
<field id="perfs:p7" set="tab2" label="perfs:p7"/>
<field id="perfs:p8" set="tab1" label="perfs:p8"/>
<field id="perfs:p9" set="tab2" label="perfs:p9"/>
<field id="perfs:p10" set="tab1" label="perfs:p10"/>
</appearance>
</form>
</forms>
</config>
</alfresco-config>
I have create a dummy model and store instacnes of the custom type into the repository in a space just under the company_home. With share, I use the repository button to navigate to my instance and I can see it. I checked with the explorer's node browser that the node is of the correct type.I do not see any error in the logs.I am wrong somewhere and any help would be great.Regards.Olivier