As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<alfresco-config> <config evaluator="string-compare" condition="DocumentLibrary"> <create-content> <content id="plain-text" mimetype="text/plain" label="create-content.text" itemid="cm:content" icon="text"/> <content id="html" mimetype="text/html" label="create-content.html" itemid="cm:content"/> <content id="xml" mimetype="text/xml" label="create-content.xml" itemid="cm:content"/> <content id="yourtype" mimetype="text/xml" label="create-yourtype.xml" itemid="your:type"/> </create-content> </config> </alfresco-config>
<?xml version="1.0" encoding="UTF-8"?> <!– Definition of UKPN News Content model –> <model name="ukpnnews:newsModel" xmlns="http://www.alfresco.org/model/dictionary/1.0"> <!– Meta-data about the model –> <description>UKPN News Model</description> <author>Lalit Jangra</author> <version>1.0</version> <!– Imports are required to allow references to definitions in other models –> <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" /> <!– Import Alfresco Content Domain Model Definitions –> <import uri="http://www.alfresco.org/model/system/1.0" prefix="sys" /> <import uri="http://www.alfresco.org/model/datalist/1.0" prefix="dl" /> </imports> <!– Content Model Namespace –> <namespaces> <namespace uri="http://www.ukpn.co.uk/model/news/1.0" prefix="ukpnnews" /> </namespaces> <types> <type name="ukpnnews:news"> <title>UKPN News</title> <parent>cm:content</parent> <properties> <property name="ukpnnews:newsName"> <title>News Name</title> <type>d:text</type> </property> <property name="ukpnnews:newsTitle"> <title>News Title</title> <type>d:text</type> </property> <property name="ukpnnews:newsType"> <title>News Type</title> <type>d:text</type> </property> <property name="ukpnnews:newsBody"> <title>News Body</title> <type>d:text</type> </property> <property name="ukpnnews:newsAuthor"> <title>News Author</title> <type>d:text</type> </property> <property name="ukpnnews:newsApprover"> <title>News Approver</title> <type>d:text</type> </property> <property name="ukpnnews:newsPublisher"> <title>News Publisher</title> <type>d:text</type> </property> <property name="ukpnnews:newsPublishingDate"> <title>News Publishing Date</title> <type>d:datetime</type> </property> <property name="ukpnnews:newsExpiryDate"> <title>News Expiration Date</title> <type>d:datetime</type> </property> <property name="ukpnnews:newsTags"> <title>News Tags</title> <type>d:text</type> </property> <property name="ukpnnews:newsLinks"> <title>News Links</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 UKPN News model. –> <bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap"> <property name="models"> <list> <value>alfresco/extension/ukpnNewsModel.xml</value> </list> </property> <property name="labels"> <list> <value>alfresco/extension/ukpnNewsModel</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> </remote> </config> <!– Added for UKPN News Model <config evaluator="string-compare" condition="DocumentLibrary"> <createContent> <content mimetype="text/plain" icon="plain-text" label="menu.create-content.text" itemid="cm:content"/> <content mimetype="text/html" icon="html" label="menu.create-content.html" itemid="cm:content"/> <content mimetype="text/xml" icon="xml" label="menu.create-content.xml" itemid="cm:content"/> <content mimetype="text/html" icon="html" label="ukpnnews" itemid="ukpnnews:news"/> <content id="ukpnnews" mimetype="text/xml" icon="xml" label="ukpnnews" itemid="ukpnnews:news"/> </createContent> </config>–> <!– For UKPN News –> <config evaluator="model-type" condition="ukpnnews:news"> <forms> <form> <field-visibility> <!– specific for ukpnnews:news –> <show id="ukpnnews:newsName" /> <show id="ukpnnews:newsTitle" /> <show id="ukpnnews:newsType" /> <show id="ukpnnews:newsBody" /> <show id="ukpnnews:newsAuthor" /> <show id="ukpnnews:newsApprover" /> <show id="ukpnnews:newsPublisher" /> <show id="ukpnnews:newsPublishingDate" /> <show id="ukpnnews:newsExpiryDate" /> <show id="ukpnnews:newsTags" /> <show id="ukpnnews:newsLinks" /> </field-visibility> </form> </forms> </config> <!– For UKPN News –> <config evaluator="node-type" condition="ukpnnews:news"> <forms> <form> <field-visibility> <!– specific for ukpnnews:news –> <show id="ukpnnews:newsName" /> <show id="ukpnnews:newsTitle" /> <show id="ukpnnews:newsType" /> <show id="ukpnnews:newsBody" /> <show id="ukpnnews:newsAuthor" /> <show id="ukpnnews:newsApprover" /> <show id="ukpnnews:newsPublisher" /> <show id="ukpnnews:newsPublishingDate" /> <show id="ukpnnews:newsExpiryDate" /> <show id="ukpnnews:newsTags" /> <show id="ukpnnews:newsLinks" /> </field-visibility> </form> </forms> </config> <config evaluator="string-compare" condition="DocumentLibrary" replace="true"> <createContent> <content mimetype="text/plain" icon="plain-text" label="menu.create-content.text" itemid="cm:content"/> <content mimetype="text/html" icon="html" label="menu.create-content.html" itemid="cm:content"/> <content mimetype="text/xml" icon="xml" label="menu.create-content.xml" itemid="cm:content"/> <content id="ukpnnews" mimetype="text/xml" icon="xml" label="ukpnnews" itemid="ukpnnews:news"/> </createContent> <types> <type name="cm:content"> <subtype name="ukpnnews:news" /> </type> </types> </config> </alfresco-config>
<content mimetype="text/html" icon="html" label="ukpnnews" itemid="ukpnnews:news"/>