I have created a content model with two main types named as my:salesCustomerCare and my:maintainence. After build a project i can able to see only types of my:salesCustomerCare and types of my:maintainence is not coming. But when i check alfresco api - http://localhost:8080/alfresco/s/api/classes?nsp=my its coming in the json, only not displaying in the share page. Can anyone tell me the reason for why its not displaying in the share page?
<?xml version="1.0" encoding="UTF-8"?> <!-- Definition of new Model --> <!-- The important part here is the name - Note: the use of the my: namespace which is defined further on in the document --> <model name="my:contentModel" xmlns="http://www.alfresco.org/model/dictionary/1.0"> <!-- Optional meta-data about the model --> <description>Requirement Custom Model</description> <author>Yuvaraj</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"/> </imports> <!-- Introduction of new namespaces defined by this model --> <!-- NOTE: The following namespace my.new.model should be changed to reflect your own namespace --> <namespaces> <namespace uri="http://www.mycompany.com/model/content/1.0" prefix="my"/> </namespaces>
but the only the cm:content main type and its sub type only showing,the sc:doc type and its sub type sc:whitepaper is not showing in the drop down.
this is my share-config-custom file,in this only cm:content type and its sub type only showing other two are not displaying, can anyone explain how its working and how can i declare my different kinds of types?
<!-- If set, will present a WebDAV link for the current item on the Document and Folder details pages. Also used to generate the "View in Alfresco Explorer" action for folders. --> <repository-url>http://localhost:8080/alfresco</repository-url>
<!-- Google Docs™ integration --> <google-docs> <!-- Enable/disable the Google Docs UI integration (Extra types on Create Content menu, Google Docs actions). --> <enabled>false</enabled>
<!-- The mimetypes of documents Google Docs allows you to create via the Share interface. The I18N label is created from the "type" attribute, e.g. google-docs.doc=Google Docs™ Document --> <creatable-types> <creatable type="doc">application/vnd.openxmlformats-officedocument.wordprocessingml.document</creatable> <creatable type="xls">application/vnd.openxmlformats-officedocument.spreadsheetml.sheet</creatable> <creatable type="ppt">application/vnd.ms-powerpoint</creatable> </creatable-types> </google-docs>
<!-- File upload configuration --> <file-upload> <!-- Adobe Flash™ In certain environments, an HTTP request originating from Flash cannot be authenticated using an existing session. See: http://bugs.adobe.com/jira/browse/FP-4830 For these cases, it is useful to disable the Flash-based uploader for Share Document Libraries. --> <adobe-flash-enabled>true</adobe-flash-enabled> </file-upload> </config>