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.
<config evaluator="string-compare" condition="DocumentLibrary"> <types> <type name="cm:content"> <subtype name="so:song" /> </type> <type name="cm:folder"> </type> </types> </config>
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'> <beans> <bean id="my.resources" class="org.springframework.extensions.surf.util.ResourceBundleBootstrapComponent"> <property name="resourceBundles"> <list> <value>alfresco.messages.<resources_name></value> </list> </property> </bean> </beans>
<config evaluator="node-type" condition="my:type"> <forms> <form> <field-visibility> <show id="my:property1" /> <show id="my:property2" force="true" /> <show id="my:property3" force="true" /> <!– you can add aspect properties as well–> <!– ie: cm:emailed aspect properties–> <show id="cm:originator" /> <show id="cm:addressee" /> <show id="cm:addressees" /> <show id="cm:sentdate" /> <show id="cm:subjectline" /> </field-visibility> <appearance> <set id="my-properties" appearance="bordered-panel" label="My Properties" /> <field id="my:property1" read-only="true" set="my-properties"/> <field id="my:property2" read-only="true" set="my-properties"/> … <!– Adding a control to render the property –> <field id="my:property3" set="my-properties"> <control template="/org/alfresco/components/form/controls/textfield.ftl" /> </field> <field id="cm:originator" read-only="true" /> <field id="cm:addressee" read-only="true" /> <field id="cm:addressees" read-only="true" /> <field id="cm:sentdate" read-only="true" /> <field id="cm:subjectline" read-only="true" /> </appearance> </form> </forms> </config>
Is it possible that i can change the type of a document uploaded again..I mean if i have uploaded some document and changed the type but now i want to change the type again, is it possible..?
Hi MikehI tried with the subtype only but in alfresco share when i upload a document and change the type and click OK and again when i click on the change type action the dropdown wont show any option.I my case all the custom content types are the subtypes of cm:content.Thanks