c:\Alfresco\tomcat\shared\classes\alfresco\extension\trModel.xml
<?xml version="1.0" encoding="UTF-8"?>
<model name="tr:somecomodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Someco Model</description>
<author>Jeff Potts</author>
<version>1.0</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
</imports>
<namespaces>
<namespace uri="http://www.someco.com/model/content/1.0" prefix="tr" />
</namespaces>
<constraints />
<types>
<type name="tr:department">
<title>Department</title>
<parent>cm:content</parent>
<properties>
<property name="tr:department_name">
<title>Department name</title>
<type>d:text</type>
<protected>false</protected>
<mandatory>true</mandatory>
</property>
</properties>
</type>
</types>
</model>
c:\Alfresco\tomcat\shared\classes\alfresco\extension\web-client-config-custom.xml
<alfresco-config>
<config evaluator="string-compare" condition="Content Wizards" replace="true">
<content-types>
<type name="tr:department" />
</content-types>
</config>
<config evaluator="node-type" condition="tr:department">
<property-sheet>
<show-property name="tr:department_name" />
</property-sheet>
</config>
</alfresco-config>
c:\Alfresco\tomcat\shared\classes\alfresco\web-extension\share-config-custom.xml
<alfresco-config>
<config evaluator="string-compare" condition="RepositoryLibrary" replace="true">
<visible>true</visible>
</config>
<!– Department –>
<config evaluator="model-type" condition="tr:department">
<forms>
<form>
<field-visibility>
<show id="tr:department_name" />
</field-visibility>
</form>
</forms>
</config>
<config evaluator="node-type" condition="tr:department">
<forms>
<form>
<field-visibility>
<show id="tr:department_name" />
</field-visibility>
</form>
</forms>
</config>
<config evaluator="string-compare" condition="DocumentLibrary">
<types>
<type name="cm:content">
<subtype name="tr:department" />
</type>
</types>
<create-content>
<content id="html" mimetype="text/html" label="department" itemid="tr:department"/>
</create-content>
</config>
</alfresco-config>
Establish a department. Create new page with link:http://127.0.0.1:8080/share/page/create-content?destination={node.nodeRef}&itemId=tr:department&mimeType=text/htmlError when saving:Failed to create content: org.alfresco.error.AlfrescoRuntimeException: 10060081 Invalid node ref - does not contain forward slash: {node.nodeRef}What could be the problem?