AnsweredAssumed Answered

I can't create a new file based on a custom model

Question asked by vincent_roye on Dec 31, 2013
Latest reply on Jan 2, 2014 by mitpatoliya

I have added a model in the data dictionary and activated it :

<!–  Dynamic Model  –>
<model xmlns="" name="dynamic:dynamicModel">
<!–  Optional meta-data about the model  –>
<description>Dynamic Model</description>
<!–  Import Alfresco Dictionary Definitions  –>
<import uri="" prefix="d"/>
<!–  Import Alfresco Content Domain Model Definitions  –>
<import uri="" prefix="cm"/>
Introduction of new namespaces defined by this model
NOTE: The following namespace dynamic.model should be changed to reflect your own namespace
<namespace uri="dynamic.model" prefix="dynamic"/>
<!–  Definition of new Content Type: Model1  –>
<type name="dynamic:Model1">
<title>Dynamic Model ONE</title>
<property name="dynamic:property11">
<title>Dynamic Property 11</title>
<property name="dynamic:property12">
<title>Dynamic Property 12</title>

And I have added in share-config-custom.xml :

      <content id="plain-text" mimetype="text/plain" label="Create content" itemid="dynamic:dynamicModel" icon="plain-text"/>

But I can't do : Create -> New document based on a model

It just doesn't appear as an option.

What is the problem ?